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 60f634254cc0647de690676f659a4e47c5671faa..a3a4aafb101351b83639c2dce0427c83684b808d 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -1778,7 +1778,7 @@ void CodeGenerator::AssembleArchTrap(Instruction* instr, |
ExternalReference::wasm_call_trap_callback_for_testing(isolate()), |
0); |
} else { |
- __ Move(cp, isolate()->native_context()); |
+ __ Move(cp, Smi::kZero); |
gen_->AssembleSourcePosition(instr_); |
__ CallRuntime(trap_id); |
} |