OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 | 290 |
291 void Debug::GenerateCompareNilICDebugBreak(MacroAssembler* masm) { | 291 void Debug::GenerateCompareNilICDebugBreak(MacroAssembler* masm) { |
292 // Register state for CompareNil IC | 292 // Register state for CompareNil IC |
293 // ----------- S t a t e ------------- | 293 // ----------- S t a t e ------------- |
294 // -- r0 : value | 294 // -- r0 : value |
295 // ----------------------------------- | 295 // ----------------------------------- |
296 Generate_DebugBreakCallHelper(masm, x0.Bit(), 0, x10); | 296 Generate_DebugBreakCallHelper(masm, x0.Bit(), 0, x10); |
297 } | 297 } |
298 | 298 |
299 | 299 |
300 void Debug::GenerateCallICDebugBreak(MacroAssembler* masm) { | |
301 // Calling convention for IC call (from ic-arm.cc) | |
302 // ----------- S t a t e ------------- | |
303 // -- x2 : name | |
304 // ----------------------------------- | |
305 Generate_DebugBreakCallHelper(masm, x2.Bit(), 0, x10); | |
306 } | |
307 | |
308 | |
309 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) { | 300 void Debug::GenerateReturnDebugBreak(MacroAssembler* masm) { |
310 // In places other than IC call sites it is expected that r0 is TOS which | 301 // In places other than IC call sites it is expected that r0 is TOS which |
311 // is an object - this is not generally the case so this should be used with | 302 // is an object - this is not generally the case so this should be used with |
312 // care. | 303 // care. |
313 Generate_DebugBreakCallHelper(masm, x0.Bit(), 0, x10); | 304 Generate_DebugBreakCallHelper(masm, x0.Bit(), 0, x10); |
314 } | 305 } |
315 | 306 |
316 | 307 |
317 void Debug::GenerateCallFunctionStubDebugBreak(MacroAssembler* masm) { | 308 void Debug::GenerateCallFunctionStubDebugBreak(MacroAssembler* masm) { |
318 // Register state for CallFunctionStub (from code-stubs-a64.cc). | 309 // Register state for CallFunctionStub (from code-stubs-a64.cc). |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnA64); | 376 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnA64); |
386 } | 377 } |
387 | 378 |
388 const bool Debug::kFrameDropperSupported = false; | 379 const bool Debug::kFrameDropperSupported = false; |
389 | 380 |
390 #endif // ENABLE_DEBUGGER_SUPPORT | 381 #endif // ENABLE_DEBUGGER_SUPPORT |
391 | 382 |
392 } } // namespace v8::internal | 383 } } // namespace v8::internal |
393 | 384 |
394 #endif // V8_TARGET_ARCH_A64 | 385 #endif // V8_TARGET_ARCH_A64 |
OLD | NEW |