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
This commit is contained in:
parent
3d880be540
commit
be3fa945c5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user