Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: src/compiler.cc

Issue 2625873009: [ast] Remove heap accesses from AST numbering (Closed)
Patch Set: Fix GCMole failure Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index 25d65040f9a0470c3e594385dc9f30ece9ec4148..c58cbc1935ec4f369d2b0d3fef065b9867d4f710 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -438,8 +438,9 @@ bool Renumber(ParseInfo* parse_info,
Compiler::EagerInnerFunctionLiterals* eager_literals) {
RuntimeCallTimerScope runtimeTimer(parse_info->isolate(),
&RuntimeCallStats::CompileRenumber);
- if (!AstNumbering::Renumber(parse_info->isolate(), parse_info->zone(),
- parse_info->literal(), eager_literals)) {
+ if (!AstNumbering::Renumber(parse_info->isolate()->stack_guard()->climit(),
+ parse_info->zone(), parse_info->literal(),
+ eager_literals)) {
return false;
}
Handle<SharedFunctionInfo> shared_info = parse_info->shared_info();

Powered by Google App Engine
This is Rietveld 408576698