Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index a843841723cb2102b9787cacc5a24013538eaa60..e4384e7573d592af78df0d5166252db8eb087404 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -1171,6 +1171,8 @@ class ProfileEntryHookStub : public CodeStub { |
// non-NULL hook. |
static bool SetFunctionEntryHook(FunctionEntryHook entry_hook); |
+ static bool HasEntryHook() { return entry_hook_ != NULL; } |
+ |
private: |
static void EntryHookTrampoline(intptr_t function, |
intptr_t stack_pointer); |