| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index cd0684b57a37f89e1de418fa64a812b25efad097..80ac52f56104621efd5276993d32e48c18aa3d32 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -33,6 +33,7 @@
|
| #include "../include/v8-profiler.h"
|
| #include "../include/v8-testing.h"
|
| #include "bootstrapper.h"
|
| +#include "code-events.h"
|
| #include "code-stubs.h"
|
| #include "compiler.h"
|
| #include "conversions-inl.h"
|
| @@ -4257,6 +4258,11 @@ bool v8::V8::SetFunctionEntryHook(FunctionEntryHook entry_hook) {
|
| }
|
|
|
|
|
| +void v8::V8::SetJitCodeEventHandler(JitCodeEventHandler event_handler) {
|
| + i::CodeEvents::set_handler(event_handler);
|
| +}
|
| +
|
| +
|
| bool v8::V8::Dispose() {
|
| i::Isolate* isolate = i::Isolate::Current();
|
| if (!ApiCheck(isolate != NULL && isolate->IsDefaultIsolate(),
|
|
|