| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 4b1a3a1618228faa480cb0cd686042e359e85472..d7037bef1c2a00aee9d6f6a048c4acd257ceb46e 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-stubs.h"
|
| #include "compiler.h"
|
| #include "conversions-inl.h"
|
| #include "counters.h"
|
| @@ -4232,6 +4233,11 @@ void v8::V8::SetReturnAddressLocationResolver(
|
| }
|
|
|
|
|
| +bool v8::V8::SetFunctionEntryHook(FunctionEntryHook entry_hook) {
|
| + return i::ProfileEntryHookStub::SetFunctionEntryHook(entry_hook);
|
| +}
|
| +
|
| +
|
| bool v8::V8::Dispose() {
|
| i::Isolate* isolate = i::Isolate::Current();
|
| if (!ApiCheck(isolate != NULL && isolate->IsDefaultIsolate(),
|
|
|