Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index 2c8783322ef2dbc7e2f60d7d576db378cb8c09b2..37aca107a2320a224fb3c0f55f7fd78e35858080 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -233,6 +233,9 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kArchRet: |
AssembleReturn(); |
break; |
+ case kArchStackPointer: |
+ __ movq(i.OutputRegister(), rsp); |
+ break; |
case kArchTruncateDoubleToI: |
__ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0)); |
break; |