Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index 2d85e30f9c09a1bd0c4793ef85b67680a07b0f4c..a7113c38f079b5dfb0dfe3858d7bcfeaf3190a18 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -3335,9 +3335,7 @@ void WasmGraphBuilder::Int64LoweringForTesting() { |
} |
void WasmGraphBuilder::SimdScalarLoweringForTesting() { |
- SimdScalarLowering(jsgraph()->graph(), jsgraph()->machine(), |
- jsgraph()->common(), jsgraph()->zone(), sig_) |
- .LowerGraph(); |
+ SimdScalarLowering(jsgraph(), sig_).LowerGraph(); |
} |
void WasmGraphBuilder::SetSourcePosition(Node* node, |
@@ -4063,8 +4061,7 @@ SourcePositionTable* WasmCompilationUnit::BuildGraphForWasmFunction( |
} |
if (builder.has_simd() && !CpuFeatures::SupportsSimd128()) { |
- SimdScalarLowering(graph, machine, common, jsgraph_->zone(), function_->sig) |
- .LowerGraph(); |
+ SimdScalarLowering(jsgraph_, function_->sig).LowerGraph(); |
} |
int index = static_cast<int>(function_->func_index); |