Index: src/arm/builtins-arm.cc |
diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc |
index e14570c542dd365787062d8c98a2bbbc7a183e9d..f97b99f0aa94db892484fc3cf5ca494dc1c66a46 100644 |
--- a/src/arm/builtins-arm.cc |
+++ b/src/arm/builtins-arm.cc |
@@ -856,6 +856,9 @@ static void Generate_CheckStackOverflow(MacroAssembler* masm, |
// Out of stack space. |
__ ldr(r1, MemOperand(fp, calleeOffset)); |
+ if (argc_is_tagged == kArgcIsUntaggedInt) { |
+ __ SmiTag(argc); |
+ } |
__ Push(r1, argc); |
__ InvokeBuiltin(Builtins::STACK_OVERFLOW, CALL_FUNCTION); |