Index: src/mips64/debug-mips64.cc |
diff --git a/src/mips64/debug-mips64.cc b/src/mips64/debug-mips64.cc |
index 6b805c78397f917b7d2d98a4b4c78a46e42dd47a..cc8895dcc4888a155db79892255b9bf49d2cc77a 100644 |
--- a/src/mips64/debug-mips64.cc |
+++ b/src/mips64/debug-mips64.cc |
@@ -195,32 +195,27 @@ void DebugCodegen::GenerateLoadICDebugBreak(MacroAssembler* masm) { |
void DebugCodegen::GenerateStoreICDebugBreak(MacroAssembler* masm) { |
- // Calling convention for IC store (from ic-mips.cc). |
- // ----------- S t a t e ------------- |
- // -- a0 : value |
- // -- a1 : receiver |
- // -- a2 : name |
- // -- ra : return address |
- // ----------------------------------- |
- // Registers a0, a1, and a2 contain objects that need to be pushed on the |
- // expression stack of the fake JS frame. |
- Generate_DebugBreakCallHelper(masm, a0.bit() | a1.bit() | a2.bit(), 0); |
+ Register receiver = StoreIC::ReceiverRegister(); |
+ Register name = StoreIC::NameRegister(); |
+ Register value = StoreIC::ValueRegister(); |
+ Generate_DebugBreakCallHelper( |
+ masm, receiver.bit() | name.bit() | value.bit(), 0); |
} |
void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { |
- // Calling convention for keyed IC load (from ic-arm.cc). |
+ // Calling convention for keyed IC load (from ic-mips64.cc). |
GenerateLoadICDebugBreak(masm); |
} |
void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { |
- // ---------- S t a t e -------------- |
- // -- a0 : value |
- // -- a1 : key |
- // -- a2 : receiver |
- // -- ra : return address |
- Generate_DebugBreakCallHelper(masm, a0.bit() | a1.bit() | a2.bit(), 0); |
+ // Calling convention for IC keyed store call (from ic-mips64.cc). |
+ Register receiver = KeyedStoreIC::ReceiverRegister(); |
+ Register name = KeyedStoreIC::NameRegister(); |
+ Register value = KeyedStoreIC::ValueRegister(); |
+ Generate_DebugBreakCallHelper( |
+ masm, receiver.bit() | name.bit() | value.bit(), 0); |
} |