Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index b4966ba6a602e5727c4ab2cb130ac70742576b16..c778d5a53723d06ab2be00776bafb018e93917b5 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.cc |
@@ -605,6 +605,9 @@ static void Generate_CheckStackOverflow(MacroAssembler* masm, |
// Out of stack space. |
__ push(Operand(ebp, calleeOffset)); // push this |
+ if (eax_is_tagged == kEaxIsUntaggedInt) { |
+ __ SmiTag(eax); |
+ } |
__ push(eax); |
__ InvokeBuiltin(Builtins::STACK_OVERFLOW, CALL_FUNCTION); |