Index: src/compiler/mips64/code-generator-mips64.cc |
diff --git a/src/compiler/mips64/code-generator-mips64.cc b/src/compiler/mips64/code-generator-mips64.cc |
index ba921e265b2bc6a748b8992fd05f3410c0a7c0af..c305b688d653d32b4456425a34caf0a4b8e2f164 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -2113,7 +2113,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); |
} |