| 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 17 matching lines...) Expand all Loading... |
| 28 #include "v8.h" | 28 #include "v8.h" |
| 29 | 29 |
| 30 #if V8_TARGET_ARCH_ARM | 30 #if V8_TARGET_ARCH_ARM |
| 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 #ifdef ENABLE_DEBUGGER_SUPPORT | |
| 39 bool BreakLocationIterator::IsDebugBreakAtReturn() { | 38 bool BreakLocationIterator::IsDebugBreakAtReturn() { |
| 40 return Debug::IsDebugBreakAtReturn(rinfo()); | 39 return Debug::IsDebugBreakAtReturn(rinfo()); |
| 41 } | 40 } |
| 42 | 41 |
| 43 | 42 |
| 44 void BreakLocationIterator::SetDebugBreakAtReturn() { | 43 void BreakLocationIterator::SetDebugBreakAtReturn() { |
| 45 // Patch the code changing the return from JS function sequence from | 44 // Patch the code changing the return from JS function sequence from |
| 46 // mov sp, fp | 45 // mov sp, fp |
| 47 // ldmia sp!, {fp, lr} | 46 // ldmia sp!, {fp, lr} |
| 48 // add sp, sp, #4 | 47 // add sp, sp, #4 |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 | 321 |
| 323 | 322 |
| 324 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { | 323 void Debug::GenerateFrameDropperLiveEdit(MacroAssembler* masm) { |
| 325 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnArm); | 324 masm->Abort(kLiveEditFrameDroppingIsNotSupportedOnArm); |
| 326 } | 325 } |
| 327 | 326 |
| 328 const bool Debug::kFrameDropperSupported = false; | 327 const bool Debug::kFrameDropperSupported = false; |
| 329 | 328 |
| 330 #undef __ | 329 #undef __ |
| 331 | 330 |
| 332 | |
| 333 | |
| 334 #endif // ENABLE_DEBUGGER_SUPPORT | |
| 335 | |
| 336 } } // namespace v8::internal | 331 } } // namespace v8::internal |
| 337 | 332 |
| 338 #endif // V8_TARGET_ARCH_ARM | 333 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |