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

Unified Diff: src/compiler/js-inlining.cc

Issue 1410963003: [turbofan] Temporary workaround for JSInliner zone. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_inlining-heuristic-4
Patch Set: Rebased. Created 5 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-inlining.cc
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc
index 474fef028ede03404d9cfd3453d2c981d0eb2ab9..fb1a722ab858eea7e3cb298b6b07924e5c03de0e 100644
--- a/src/compiler/js-inlining.cc
+++ b/src/compiler/js-inlining.cc
@@ -318,8 +318,12 @@ Reduction JSInliner::ReduceJSCallFunction(Node* node,
return NoChange();
}
- Zone zone;
- ParseInfo parse_info(&zone, function);
+ // TODO(mstarzinger): The correct thing would be to use a local zone here for
+ // the inner graph. This however leads to Zone-Types being allocated in the
+ // wrong zone and makes the engine explode at high speeds. Explosion bad!
+ // Zone zone;
+ // ParseInfo parse_info(&zone, function);
+ ParseInfo parse_info(jsgraph_->zone(), function);
CompilationInfo info(&parse_info);
if (info_->is_deoptimization_enabled()) {
info.MarkAsDeoptimizationEnabled();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698