| Index: src/compiler/int64-lowering.cc
|
| diff --git a/src/compiler/int64-lowering.cc b/src/compiler/int64-lowering.cc
|
| index 6a5b87b5a8de303765f32ae59aa96efad78ae0ee..b0962a88dbc62424333380ca472cd2a974440a2d 100644
|
| --- a/src/compiler/int64-lowering.cc
|
| +++ b/src/compiler/int64-lowering.cc
|
| @@ -225,7 +225,7 @@ void Int64Lowering::LowerNode(Node* node) {
|
| case IrOpcode::kCall: {
|
| // TODO(turbofan): Make WASM code const-correct wrt. CallDescriptor.
|
| CallDescriptor* descriptor =
|
| - const_cast<CallDescriptor*>(OpParameter<const CallDescriptor*>(node));
|
| + const_cast<CallDescriptor*>(CallDescriptorOf(node->op()));
|
| if (DefaultLowering(node) ||
|
| (descriptor->ReturnCount() == 1 &&
|
| descriptor->GetReturnType(0) == MachineType::Int64())) {
|
|
|