Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 12cc499a7777797695004ae49938228325fecdd5..d62f82ad6a5a495ab334fde6e754e46e13ff8f0e 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -4451,6 +4451,7 @@ static void GenerateRecordCallTarget(MacroAssembler* masm) { |
{ |
FrameScope scope(masm, StackFrame::INTERNAL); |
+ __ SmiTag(eax); |
__ push(eax); |
__ push(edi); |
__ push(ebx); |
@@ -4461,6 +4462,7 @@ static void GenerateRecordCallTarget(MacroAssembler* masm) { |
__ pop(ebx); |
__ pop(edi); |
__ pop(eax); |
+ __ SmiUntag(eax); |
} |
__ jmp(&done); |