diff options
Diffstat (limited to 'deps/v8/src/compiler/int64-lowering.cc')
-rw-r--r-- | deps/v8/src/compiler/int64-lowering.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/deps/v8/src/compiler/int64-lowering.cc b/deps/v8/src/compiler/int64-lowering.cc index 82c91cc0eb..19db874ca6 100644 --- a/deps/v8/src/compiler/int64-lowering.cc +++ b/deps/v8/src/compiler/int64-lowering.cc @@ -12,6 +12,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" #include "src/zone/zone.h" @@ -289,15 +290,15 @@ void Int64Lowering::LowerNode(Node* node) { break; } case IrOpcode::kCall: { - // TODO(turbofan): Make WASM code const-correct wrt. CallDescriptor. + // TODO(turbofan): Make wasm code const-correct wrt. CallDescriptor. CallDescriptor* descriptor = const_cast<CallDescriptor*>(CallDescriptorOf(node->op())); if (DefaultLowering(node) || (descriptor->ReturnCount() == 1 && descriptor->GetReturnType(0) == MachineType::Int64())) { // We have to adjust the call descriptor. - const Operator* op = common()->Call( - wasm::ModuleEnv::GetI32WasmCallDescriptor(zone(), descriptor)); + const Operator* op = + common()->Call(GetI32WasmCallDescriptor(zone(), descriptor)); NodeProperties::ChangeOp(node, op); } if (descriptor->ReturnCount() == 1 && |