Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index f19063230a7d953d7dabe5c152c6e0eaf8798bc9..0f52e0a753659b5e9952e97ab6938d5aa82e8543 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -1159,6 +1159,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); |