Author: [email protected]
Date: Thu Feb 19 06:29:48 2009
New Revision: 1319
Modified:
branches/bleeding_edge/src/debug.h
branches/bleeding_edge/test/cctest/test-debug.cc
Log:
Fixed Linux build.
[email protected]
Review URL: http://codereview.chromium.org/20493
Modified: branches/bleeding_edge/src/debug.h
==============================================================================
--- branches/bleeding_edge/src/debug.h (original)
+++ branches/bleeding_edge/src/debug.h Thu Feb 19 06:29:48 2009
@@ -419,7 +419,7 @@
static v8::DebugHostDispatchHandler host_dispatch_handler_;
static void* host_dispatch_handler_data_;
- friend class DebugMessageThread;
+ friend class DebugMessageThread;
};
Modified: branches/bleeding_edge/test/cctest/test-debug.cc
==============================================================================
--- branches/bleeding_edge/test/cctest/test-debug.cc (original)
+++ branches/bleeding_edge/test/cctest/test-debug.cc Thu Feb 19 06:29:48
2009
@@ -3664,8 +3664,6 @@
int host_dispatch_hit_count = 0;
static void HostDispatchHandlerHitCount(void* dispatch, void *data) {
- CHECK_EQ(dispatch, &HostDispatchHandlerHitCount);
- CHECK_EQ(data, &HostDispatchHandlerHitCount);
host_dispatch_hit_count++;
}
@@ -3686,14 +3684,15 @@
// Setup message and host dispatch handlers.
v8::Debug::SetMessageHandler(DummyMessageHandler);
v8::Debug::SetHostDispatchHandler(HostDispatchHandlerHitCount,
- &HostDispatchHandlerHitCount);
+ NULL);
// Fill a host dispatch and a continue command on the command queue
before
// generating a debug break.
- v8::Debug::SendHostDispatch(&HostDispatchHandlerHitCount);
+ v8::Debug::SendHostDispatch(NULL);
v8::Debug::SendCommand(buffer, AsciiToUtf16(command_continue, buffer));
CompileRun("debugger");
// The host dispatch callback should be called.
CHECK_EQ(1, host_dispatch_hit_count);
-}
\ No newline at end of file
+}
+
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---