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 a56de204b7163776172db42b9b1ace442001c59a..c041e15366db11a50b7b98b98fc4aeed27795f66 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -172,6 +172,9 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kArchRet: |
AssembleReturn(); |
break; |
+ case kArchStackPointer: |
+ __ mov(i.OutputRegister(), masm()->StackPointer()); |
+ break; |
case kArchTruncateDoubleToI: |
__ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0)); |
break; |