| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index 0ea7ac96b59b29e563ce4e95267ffdbb593ecadd..03d6dd185ad150f584f8a3ee032d59f3f7b17c69 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -2135,13 +2135,6 @@ class ProfileEntryHookStub : public PlatformCodeStub {
|
| // Generates a call to the entry hook if it's enabled.
|
| static void MaybeCallEntryHook(MacroAssembler* masm);
|
|
|
| - // Sets or unsets the entry hook function. Returns true on success,
|
| - // false on an attempt to replace a non-NULL entry hook with another
|
| - // 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);
|
| @@ -2151,9 +2144,6 @@ class ProfileEntryHookStub : public PlatformCodeStub {
|
|
|
| void Generate(MacroAssembler* masm);
|
|
|
| - // The current function entry hook.
|
| - static FunctionEntryHook entry_hook_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub);
|
| };
|
|
|
|
|