Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 60112755090dacbf9ea5907f2982ec8c7738c7d5..5383339510e1d338258a8a5220007c7ac0309db5 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -731,8 +731,9 @@ void StubFailureTrampolineStub::GenerateAheadOfTime(Isolate* isolate) { |
void ProfileEntryHookStub::EntryHookTrampoline(intptr_t function, |
- intptr_t stack_pointer) { |
- FunctionEntryHook entry_hook = Isolate::Current()->function_entry_hook(); |
+ intptr_t stack_pointer, |
+ Isolate* isolate) { |
+ FunctionEntryHook entry_hook = isolate->function_entry_hook(); |
ASSERT(entry_hook != NULL); |
entry_hook(function, stack_pointer); |
} |