Index: src/ast/ast-numbering.cc |
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
index 96f138241f0c2dce36472543c3487ee08836a370..9d4cd08064b34c355d0dd6441975d4bc849a29cc 100644 |
--- a/src/ast/ast-numbering.cc |
+++ b/src/ast/ast-numbering.cc |
@@ -6,6 +6,8 @@ |
#include "src/ast/ast.h" |
#include "src/ast/scopes.h" |
+#include "src/execution.h" |
+#include "src/isolate.h" |
namespace v8 { |
namespace internal { |
@@ -21,7 +23,7 @@ class AstNumberingVisitor final : public AstVisitor<AstNumberingVisitor> { |
slot_cache_(zone), |
dont_optimize_reason_(kNoReason), |
catch_prediction_(HandlerTable::UNCAUGHT) { |
- InitializeAstVisitor(isolate); |
+ InitializeAstVisitor(isolate->stack_guard()->real_climit()); |
} |
bool Renumber(FunctionLiteral* node); |