Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 98a835fd1a5adb0b3b461a92edd452a49566020a..5858eac6294610656a0df56b7fc5c64d0d739856 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -4430,6 +4430,7 @@ static void GenerateRecordCallTarget(MacroAssembler* masm) { |
{ |
FrameScope scope(masm, StackFrame::INTERNAL); |
+ __ SmiTag(r0); |
__ push(r0); |
__ push(r1); |
__ push(r2); |
@@ -4440,6 +4441,7 @@ static void GenerateRecordCallTarget(MacroAssembler* masm) { |
__ pop(r2); |
__ pop(r1); |
__ pop(r0); |
+ __ SmiUntag(r0); |
} |
__ b(&done); |