Index: src/builtins/arm/builtins-arm.cc |
diff --git a/src/builtins/arm/builtins-arm.cc b/src/builtins/arm/builtins-arm.cc |
index e0bb922ecc57953b8efbaaf15f49bd7add337dc0..e391cf199689dd7b7e0059565b2b9e288b93c2d4 100644 |
--- a/src/builtins/arm/builtins-arm.cc |
+++ b/src/builtins/arm/builtins-arm.cc |
@@ -2400,8 +2400,10 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm, |
__ SmiTag(r0); |
__ Push(r0, r1); |
__ mov(r0, r3); |
+ __ Push(cp); |
ToObjectStub stub(masm->isolate()); |
__ CallStub(&stub); |
+ __ Pop(cp); |
__ mov(r3, r0); |
__ Pop(r0, r1); |
__ SmiUntag(r0); |