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(); |