| Index: src/compiler/mips/code-generator-mips.cc
|
| diff --git a/src/compiler/mips/code-generator-mips.cc b/src/compiler/mips/code-generator-mips.cc
|
| index 171c0007af740b61ad638cf610e3163cdc5afcf0..91ba48f60e35c293223e806f79613197a2c3dd93 100644
|
| --- a/src/compiler/mips/code-generator-mips.cc
|
| +++ b/src/compiler/mips/code-generator-mips.cc
|
| @@ -544,6 +544,16 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
|
| InstructionCode opcode = instr->opcode();
|
| ArchOpcode arch_opcode = ArchOpcodeField::decode(opcode);
|
| switch (arch_opcode) {
|
| + case kArchCallWasmFunction: {
|
| + DCHECK(instr->InputAt(0)->IsImmediate());
|
| + Constant callee_operand = i.ToConstant(instr->InputAt(0));
|
| + DCHECK(callee_operand.type() == Constant::Type::kInt32);
|
| + __ Call(reinterpret_cast<Address>(callee_operand.ToInt32()),
|
| + callee_operand.rmode());
|
| + RecordCallPosition(instr);
|
| + frame_access_state()->ClearSPDelta();
|
| + break;
|
| + }
|
| case kArchCallCodeObject: {
|
| EnsureSpaceForLazyDeopt();
|
| if (instr->InputAt(0)->IsImmediate()) {
|
|
|