Index: src/runtime-profiler.cc |
diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc |
index 5b2733356d243ce28dc366cafb66f08b37c9b10f..599e235c3925915fbb8f90bd5ed469d83290fb5b 100644 |
--- a/src/runtime-profiler.cc |
+++ b/src/runtime-profiler.cc |
@@ -200,11 +200,11 @@ void RuntimeProfiler::AttemptOnStackReplacement(JSFunction* function) { |
Code* stack_check_code = NULL; |
if (FLAG_count_based_interrupts) { |
InterruptStub interrupt_stub; |
- found_code = interrupt_stub.FindCodeInCache(&stack_check_code); |
+ found_code = interrupt_stub.FindCodeInCache(&stack_check_code, isolate_); |
} else // NOLINT |
{ // NOLINT |
StackCheckStub check_stub; |
- found_code = check_stub.FindCodeInCache(&stack_check_code); |
+ found_code = check_stub.FindCodeInCache(&stack_check_code, isolate_); |
} |
if (found_code) { |
Code* replacement_code = |