Index: src/compiler/arm/code-generator-arm.cc |
diff --git a/src/compiler/arm/code-generator-arm.cc b/src/compiler/arm/code-generator-arm.cc |
index fabcfdcdc5f769ad7eafa59e07f6b6c0a289f2bd..f278326cf7bbd52648a850aba271c11361b4e5cc 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -204,6 +204,10 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
AssembleReturn(); |
DCHECK_EQ(LeaveCC, i.OutputSBit()); |
break; |
+ case kArchStackPointer: |
+ __ mov(i.OutputRegister(), sp); |
+ DCHECK_EQ(LeaveCC, i.OutputSBit()); |
+ break; |
case kArchTruncateDoubleToI: |
__ TruncateDoubleToI(i.OutputRegister(), i.InputFloat64Register(0)); |
DCHECK_EQ(LeaveCC, i.OutputSBit()); |