Index: src/compiler/arm64/code-generator-arm64.cc |
diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc |
index 09fe0eb718b92be8c75f1e7fe0e8912392a574fe..1833821169d4f404b257f3de8a42925a02d15f58 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -1739,7 +1739,7 @@ void CodeGenerator::AssembleArchTrap(Instruction* instr, |
0); |
} else { |
DCHECK(csp.Is(__ StackPointer())); |
- __ Move(cp, isolate()->native_context()); |
+ __ Move(cp, Smi::kZero); |
// Initialize the jssp because it is required for the runtime call. |
__ Mov(jssp, csp); |
gen_->AssembleSourcePosition(instr_); |