Index: src/execution.cc |
diff --git a/src/execution.cc b/src/execution.cc |
index d480daa47d55af5997adcda438b43f2f818a7337..7ae67410e45790653c33d8f578abf79f8c38ec18 100644 |
--- a/src/execution.cc |
+++ b/src/execution.cc |
@@ -651,6 +651,13 @@ Handle<String> Execution::GetStackTraceLine(Handle<Object> recv, |
} |
+void StackGuard::CheckAndHandleGCInterrupt() { |
+ if (CheckAndClearInterrupt(GC_REQUEST)) { |
+ isolate_->heap()->HandleGCRequest(); |
+ } |
+} |
+ |
+ |
Object* StackGuard::HandleInterrupts() { |
if (CheckAndClearInterrupt(GC_REQUEST)) { |
isolate_->heap()->HandleGCRequest(); |