| 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 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 #include "codegen.h" | 32 #include "codegen.h" |
| 33 #include "debug.h" | 33 #include "debug.h" |
| 34 | 34 |
| 35 namespace v8 { | 35 namespace v8 { |
| 36 namespace internal { | 36 namespace internal { |
| 37 | 37 |
| 38 | 38 |
| 39 #define __ ACCESS_MASM(masm) | 39 #define __ ACCESS_MASM(masm) |
| 40 | 40 |
| 41 | |
| 42 #ifdef ENABLE_DEBUGGER_SUPPORT | |
| 43 bool BreakLocationIterator::IsDebugBreakAtReturn() { | 41 bool BreakLocationIterator::IsDebugBreakAtReturn() { |
| 44 return Debug::IsDebugBreakAtReturn(rinfo()); | 42 return Debug::IsDebugBreakAtReturn(rinfo()); |
| 45 } | 43 } |
| 46 | 44 |
| 47 | 45 |
| 48 void BreakLocationIterator::SetDebugBreakAtReturn() { | 46 void BreakLocationIterator::SetDebugBreakAtReturn() { |
| 49 // Patch the code emitted by FullCodeGenerator::EmitReturnSequence, changing | 47 // Patch the code emitted by FullCodeGenerator::EmitReturnSequence, changing |
| 50 // the return from JS function sequence from | 48 // the return from JS function sequence from |
| 51 // mov sp, fp | 49 // mov sp, fp |
| 52 // ldp fp, lr, [sp] #16 | 50 // ldp fp, lr, [sp] #16 |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnARM64); | 377 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnARM64); |
| 380 } | 378 } |
| 381 | 379 |
| 382 | 380 |
| 383 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { | 381 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { |
| 384 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnARM64); | 382 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnARM64); |
| 385 } | 383 } |
| 386 | 384 |
| 387 const bool Debug::kFrameDropperSupported = false; | 385 const bool Debug::kFrameDropperSupported = false; |
| 388 | 386 |
| 389 #endif // ENABLE_DEBUGGER_SUPPORT | |
| 390 | |
| 391 } } // namespace v8::internal | 387 } } // namespace v8::internal |
| 392 | 388 |
| 393 #endif // V8_TARGET_ARCH_ARM64 | 389 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |