Index: src/execution.cc |
diff --git a/src/execution.cc b/src/execution.cc |
index 3e651db26301a17ae7b4a77aed49809f330038fa..e6a569f33d967d66bdfc0065ef10c7117a3a091a 100644 |
--- a/src/execution.cc |
+++ b/src/execution.cc |
@@ -480,7 +480,7 @@ Object* StackGuard::HandleInterrupts() { |
isolate_->counters()->stack_interrupts()->Increment(); |
isolate_->counters()->runtime_profiler_ticks()->Increment(); |
- isolate_->runtime_profiler()->OptimizeNow(); |
+ isolate_->runtime_profiler()->MarkCandidatesForOptimization(); |
return isolate_->heap()->undefined_value(); |
} |