OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { | 229 void Debug::GenerateKeyedStoreICDebugBreak(MacroAssembler* masm) { |
230 // ---------- S t a t e -------------- | 230 // ---------- S t a t e -------------- |
231 // -- a0 : value | 231 // -- a0 : value |
232 // -- a1 : key | 232 // -- a1 : key |
233 // -- a2 : receiver | 233 // -- a2 : receiver |
234 // -- ra : return address | 234 // -- ra : return address |
235 Generate_DebugBreakCallHelper(masm, a0.bit() | a1.bit() | a2.bit(), 0); | 235 Generate_DebugBreakCallHelper(masm, a0.bit() | a1.bit() | a2.bit(), 0); |
236 } | 236 } |
237 | 237 |
238 | 238 |
| 239 void Debug::GenerateCompareNilICDebugBreak(MacroAssembler* masm) { |
| 240 // Register state for CompareNil IC |
| 241 // ----------- S t a t e ------------- |
| 242 // -- a0 : value |
| 243 // ----------------------------------- |
| 244 Generate_DebugBreakCallHelper(masm, a0.bit(), 0); |
| 245 } |
| 246 |
| 247 |
239 void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) { | 248 void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) { |
240 // Calling convention for IC call (from ic-mips.cc). | 249 // Calling convention for IC call (from ic-mips.cc). |
241 // ----------- S t a t e ------------- | 250 // ----------- S t a t e ------------- |
242 // -- a2: name | 251 // -- a2: name |
243 // ----------------------------------- | 252 // ----------------------------------- |
244 Generate_DebugBreakCallHelper(masm, a2.bit(), 0); | 253 Generate_DebugBreakCallHelper(masm, a2.bit(), 0); |
245 } | 254 } |
246 | 255 |
247 | 256 |
248 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) { | 257 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 const bool Debug::kFrameDropperSupported = false; | 337 const bool Debug::kFrameDropperSupported = false; |
329 | 338 |
330 #undef __ | 339 #undef __ |
331 | 340 |
332 | 341 |
333 #endif // ENABLE_DEBUGGER_SUPPORT | 342 #endif // ENABLE_DEBUGGER_SUPPORT |
334 | 343 |
335 } } // namespace v8::internal | 344 } } // namespace v8::internal |
336 | 345 |
337 #endif // V8_TARGET_ARCH_MIPS | 346 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |