Fix compilation with shared library.

TBR=dslomov@chromium.org

Review URL: https://codereview.chromium.org/381103002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22329 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 3d880be5
......@@ -29,7 +29,7 @@
#include "include/v8-testing.h"
#endif // V8_SHARED
#ifdef ENABLE_GDB_JIT_INTERFACE
#if !defined(V8_SHARED) && defined(ENABLE_GDB_JIT_INTERFACE)
#include "src/gdb-jit.h"
#endif
......@@ -1581,7 +1581,7 @@ int Shell::Main(int argc, char* argv[]) {
{
Isolate::Scope scope(isolate);
Initialize(isolate);
#ifdef ENABLE_GDB_JIT_INTERFACE
#if !defined(V8_SHARED) && defined(ENABLE_GDB_JIT_INTERFACE)
v8::V8::SetJitCodeEventHandler(v8::kJitCodeEventDefault,
i::GDBJITInterface::EventHandler);
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment