Index: src/compiler/ppc/code-generator-ppc.cc |
diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc |
index 56755d24468a18737c3e70e0a5def3dc5603eb64..66c02b94014c41d6d6c9d1f62804621d1efb5e25 100644 |
--- a/src/compiler/ppc/code-generator-ppc.cc |
+++ b/src/compiler/ppc/code-generator-ppc.cc |
@@ -2057,7 +2057,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); |
} |