Index: src/compiler/ia32/code-generator-ia32.cc |
diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc |
index 4bb75006640969a48f5fab52f9856e5290848b6e..2b51b6fb92dc8cb8960b3c6f81fd7e360dc1c27c 100644 |
--- a/src/compiler/ia32/code-generator-ia32.cc |
+++ b/src/compiler/ia32/code-generator-ia32.cc |
@@ -205,6 +205,9 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kArchRet: |
AssembleReturn(); |
break; |
+ case kArchStackPointer: |
+ __ mov(i.OutputRegister(), esp); |
+ break; |
case kArchTruncateDoubleToI: |
__ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0)); |
break; |