OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #if V8_TARGET_ARCH_MIPS | 9 #if V8_TARGET_ARCH_MIPS |
10 | 10 |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 // -- ra : return address | 200 // -- ra : return address |
201 // ----------------------------------- | 201 // ----------------------------------- |
202 // Registers a0, a1, and a2 contain objects that need to be pushed on the | 202 // Registers a0, a1, and a2 contain objects that need to be pushed on the |
203 // expression stack of the fake JS frame. | 203 // expression stack of the fake JS frame. |
204 Generate_DebugBreakCallHelper(masm, a0.bit() | a1.bit() | a2.bit(), 0); | 204 Generate_DebugBreakCallHelper(masm, a0.bit() | a1.bit() | a2.bit(), 0); |
205 } | 205 } |
206 | 206 |
207 | 207 |
208 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { | 208 void DebugCodegen::GenerateKeyedLoadICDebugBreak(MacroAssembler* masm) { |
209 // Calling convention for keyed IC load (from ic-arm.cc). | 209 // Calling convention for keyed IC load (from ic-arm.cc). |
210 Register receiver = KeyedLoadIC::ReceiverRegister(); | 210 GenerateLoadICDebugBreak(masm); |
211 Register name = KeyedLoadIC::NameRegister(); | |
212 Generate_DebugBreakCallHelper(masm, receiver.bit() | name.bit(), 0); | |
213 } | 211 } |
214 | 212 |
215 | 213 |
216 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { | 214 void DebugCodegen::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { |
217 // ---------- S t a t e -------------- | 215 // ---------- S t a t e -------------- |
218 // -- a0 : value | 216 // -- a0 : value |
219 // -- a1 : key | 217 // -- a1 : key |
220 // -- a2 : receiver | 218 // -- a2 : receiver |
221 // -- ra : return address | 219 // -- ra : return address |
222 Generate_DebugBreakCallHelper(masm, a0.bit() | a1.bit() | a2.bit(), 0); | 220 Generate_DebugBreakCallHelper(masm, a0.bit() | a1.bit() | a2.bit(), 0); |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 } | 322 } |
325 | 323 |
326 | 324 |
327 const bool LiveEdit::kFrameDropperSupported = true; | 325 const bool LiveEdit::kFrameDropperSupported = true; |
328 | 326 |
329 #undef __ | 327 #undef __ |
330 | 328 |
331 } } // namespace v8::internal | 329 } } // namespace v8::internal |
332 | 330 |
333 #endif // V8_TARGET_ARCH_MIPS | 331 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |