Index: src/execution.cc |
diff --git a/src/execution.cc b/src/execution.cc |
index 081cfb61a439b0eb0cfc8bf78cfbadd7de8db521..690a4e3f4e6cd8570a0b052ee643b8fedb24aa69 100644 |
--- a/src/execution.cc |
+++ b/src/execution.cc |
@@ -516,15 +516,15 @@ void StackGuard::FullDeopt() { |
} |
-bool StackGuard::IsDeoptMarkedCode() { |
+bool StackGuard::IsDeoptMarkedAllocationSites() { |
ExecutionAccess access(isolate_); |
- return (thread_local_.interrupt_flags_ & DEOPT_MARKED_CODE) != 0; |
+ return (thread_local_.interrupt_flags_ & DEOPT_MARKED_ALLOCATION_SITES) != 0; |
} |
-void StackGuard::DeoptMarkedCode() { |
+void StackGuard::DeoptMarkedAllocationSites() { |
ExecutionAccess access(isolate_); |
- thread_local_.interrupt_flags_ |= DEOPT_MARKED_CODE; |
+ thread_local_.interrupt_flags_ |= DEOPT_MARKED_ALLOCATION_SITES; |
set_interrupt_limits(access); |
} |
@@ -1040,9 +1040,9 @@ MaybeObject* Execution::HandleStackGuardInterrupt(Isolate* isolate) { |
stack_guard->Continue(FULL_DEOPT); |
Deoptimizer::DeoptimizeAll(isolate); |
} |
- if (stack_guard->IsDeoptMarkedCode()) { |
- stack_guard->Continue(DEOPT_MARKED_CODE); |
- Deoptimizer::DeoptimizeMarkedCode(isolate); |
+ if (stack_guard->IsDeoptMarkedAllocationSites()) { |
+ stack_guard->Continue(DEOPT_MARKED_ALLOCATION_SITES); |
+ isolate->heap()->DeoptMarkedAllocationSites(); |
} |
if (stack_guard->IsInstallCodeRequest()) { |
ASSERT(isolate->concurrent_recompilation_enabled()); |