Index: src/compiler/simd-scalar-lowering.cc |
diff --git a/src/compiler/simd-scalar-lowering.cc b/src/compiler/simd-scalar-lowering.cc |
index b98c2d514ffafe55b6d541a59370020062ab9e2b..1604f020e681870550c567cbe0052a7d1a0102a5 100644 |
--- a/src/compiler/simd-scalar-lowering.cc |
+++ b/src/compiler/simd-scalar-lowering.cc |
@@ -9,6 +9,7 @@ |
#include "src/compiler/node-properties.h" |
#include "src/compiler/node.h" |
+#include "src/compiler/wasm-compiler.h" |
#include "src/objects-inl.h" |
#include "src/wasm/wasm-module.h" |
@@ -786,8 +787,7 @@ void SimdScalarLowering::LowerNode(Node* node) { |
descriptor->GetReturnType(0) == MachineType::Simd128())) { |
// We have to adjust the call descriptor. |
const Operator* op = |
- common()->Call(wasm::ModuleEnv::GetI32WasmCallDescriptorForSimd( |
- zone(), descriptor)); |
+ common()->Call(GetI32WasmCallDescriptorForSimd(zone(), descriptor)); |
NodeProperties::ChangeOp(node, op); |
} |
if (descriptor->ReturnCount() == 1 && |