Index: src/arm/ic-arm.cc |
diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc |
index aded4c1dd8b7f8d0beedafd5cc16919834b3fba6..401946167764238d97b78dc5ccb4b04ca6ab2f64 100644 |
--- a/src/arm/ic-arm.cc |
+++ b/src/arm/ic-arm.cc |
@@ -577,8 +577,8 @@ void KeyedCallIC::GenerateMegamorphic(MacroAssembler* masm, int argc) { |
__ IncrementCounter(counters->keyed_call_generic_slow_load(), 1, r0, r3); |
{ |
FrameScope scope(masm, StackFrame::INTERNAL); |
- __ push(r2); // save the key |
- __ Push(r1, r2); // pass the receiver and the key |
+ __ Push(r2, r1); // save the key and the receiver |
+ __ push(r2); // pass the receiver and the key |
__ CallRuntime(Runtime::kKeyedGetProperty, 2); |
__ pop(r2); // restore the key |
} |