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