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

Unified Diff: src/compiler/wasm-compiler.cc

Issue 1709093002: [turbofan] Connect ObjectIsNumber to effect and control chains. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@move-change-low
Patch Set: Created 4 years, 10 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 | « src/compiler/simplified-operator.cc ('k') | test/cctest/compiler/test-changes-lowering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/wasm-compiler.cc
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
index 109bfedd364f57069b811099b9b98136d981049c..ba74a3c2cea3395c09c90bcb45c67d73931746ec 100644
--- a/src/compiler/wasm-compiler.cc
+++ b/src/compiler/wasm-compiler.cc
@@ -1987,9 +1987,9 @@ Handle<JSFunction> CompileJSToWasmWrapper(
typer.Run(roots);
// Run generic and change lowering.
- JSGenericLowering generic(true, &jsgraph);
- ChangeLowering changes(&jsgraph);
GraphReducer graph_reducer(&zone, &graph, jsgraph.Dead());
+ JSGenericLowering generic(true, &jsgraph);
+ ChangeLowering changes(&graph_reducer, &jsgraph);
graph_reducer.AddReducer(&changes);
graph_reducer.AddReducer(&generic);
graph_reducer.ReduceGraph();
@@ -2052,9 +2052,9 @@ Handle<Code> CompileWasmToJSWrapper(Isolate* isolate, wasm::ModuleEnv* module,
typer.Run(roots);
// Run generic and change lowering.
- JSGenericLowering generic(true, &jsgraph);
- ChangeLowering changes(&jsgraph);
GraphReducer graph_reducer(&zone, &graph, jsgraph.Dead());
+ JSGenericLowering generic(true, &jsgraph);
+ ChangeLowering changes(&graph_reducer, &jsgraph);
graph_reducer.AddReducer(&changes);
graph_reducer.AddReducer(&generic);
graph_reducer.ReduceGraph();
« no previous file with comments | « src/compiler/simplified-operator.cc ('k') | test/cctest/compiler/test-changes-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698