Index: src/arm/debug-arm.cc |
diff --git a/src/arm/debug-arm.cc b/src/arm/debug-arm.cc |
index d5b55b7d7bce68fe1c687fcc249ceea845e74f42..97883199f23b309cdee288ff53c10d19e7451d43 100644 |
--- a/src/arm/debug-arm.cc |
+++ b/src/arm/debug-arm.cc |
@@ -176,15 +176,9 @@ void DebugCodegen::GenerateCallICStubDebugBreak(MacroAssembler* masm) { |
void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
// Calling convention for IC load (from ic-arm.cc). |
- // ----------- S t a t e ------------- |
- // -- r2 : name |
- // -- lr : return address |
- // -- r0 : receiver |
- // -- [sp] : receiver |
- // ----------------------------------- |
- // Registers r0 and r2 contain objects that need to be pushed on the |
- // expression stack of the fake JS frame. |
- Generate_DebugBreakCallHelper(masm, r0.bit() | r2.bit(), 0); |
+ Register receiver = LoadIC::ReceiverRegister(); |
+ Register name = LoadIC::NameRegister(); |
+ Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0); |
} |
@@ -203,11 +197,10 @@ void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { |
- // ---------- S t a t e -------------- |
- // -- lr : return address |
- // -- r0 : key |
- // -- r1 : receiver |
- Generate_DebugBreakCallHelper(masm, r0.bit() | r1.bit(), 0); |
+ // Calling convention for keyed IC load (from ic-arm.cc). |
+ Register receiver = KeyedLoadIC::ReceiverRegister(); |
+ Register name = KeyedLoadIC::NameRegister(); |
+ Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0); |
} |