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

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

Issue 1168693002: [turbofan] Allow ReplaceWithValue to kill control. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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/js-inlining.cc
diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc
index 6964e5eb4d8390338e4ef7f23e9a6728853676ec..659614e89a30ef2dcc9c003035d1a9d0e756955d 100644
--- a/src/compiler/js-inlining.cc
+++ b/src/compiler/js-inlining.cc
@@ -277,7 +277,7 @@ Reduction JSInliner::Reduce(Node* node) {
AstGraphBuilder graph_builder(local_zone_, &info, &jsgraph);
graph_builder.CreateGraph(true, false);
JSContextSpecializer context_specializer(&jsgraph);
- GraphReducer graph_reducer(&graph, local_zone_);
+ GraphReducer graph_reducer(&graph, nullptr, nullptr, local_zone_);
graph_reducer.AddReducer(&context_specializer);
graph_reducer.ReduceGraph();

Powered by Google App Engine
This is Rietveld 408576698