Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index a61632243b7193232efd83b883e1d9b60e28fcd1..3912773580513fdaaf06ec475da7b9d4881802dd 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -700,7 +700,7 @@ void CompareOperation::RecordTypeFeedback(TypeFeedbackOracle* oracle) { |
bool AstVisitor::CheckStackOverflow() { |
if (stack_overflow_) return true; |
- StackLimitCheck check(Isolate::Current()); |
+ StackLimitCheck check(isolate_); |
if (!check.HasOverflowed()) return false; |
return (stack_overflow_ = true); |
} |