Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 9330eb1411723a56ba45f529d2a0d99eef1c7edf..19993b09a5eb9de6f2b51dd5bf71f6304a150393 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -3344,16 +3344,12 @@ static void GenerateRecordCallTarget(MacroAssembler* masm) { |
// Arguments register must be smi-tagged to call out. |
__ SmiTag(r0); |
- __ push(r0); |
- __ push(r1); |
- __ push(r2); |
+ __ Push(r2, r1, r0); |
CreateAllocationSiteStub create_stub; |
__ CallStub(&create_stub); |
- __ pop(r2); |
- __ pop(r1); |
- __ pop(r0); |
+ __ Pop(r2, r1, r0); |
__ SmiUntag(r0); |
} |
__ b(&done); |
@@ -5021,8 +5017,7 @@ void ICCompareStub::GenerateMiss(MacroAssembler* masm) { |
FrameScope scope(masm, StackFrame::INTERNAL); |
__ Push(r1, r0); |
- __ push(lr); |
- __ Push(r1, r0); |
+ __ Push(lr, r1, r0); |
__ mov(ip, Operand(Smi::FromInt(op_))); |
__ push(ip); |
__ CallExternalReference(miss, 3); |
@@ -5030,8 +5025,7 @@ void ICCompareStub::GenerateMiss(MacroAssembler* masm) { |
__ add(r2, r0, Operand(Code::kHeaderSize - kHeapObjectTag)); |
// Restore registers. |
__ pop(lr); |
- __ pop(r0); |
- __ pop(r1); |
+ __ Pop(r1, r0); |
} |
__ Jump(r2); |