| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_DEBUG_H_ | 5 #ifndef V8_DEBUG_H_ |
| 6 #define V8_DEBUG_H_ | 6 #define V8_DEBUG_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/arguments.h" | 9 #include "src/arguments.h" |
| 10 #include "src/assembler.h" | 10 #include "src/assembler.h" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 void FindBreakLocationFromAddress(Address pc); | 79 void FindBreakLocationFromAddress(Address pc); |
| 80 void FindBreakLocationFromPosition(int position, | 80 void FindBreakLocationFromPosition(int position, |
| 81 BreakPositionAlignment alignment); | 81 BreakPositionAlignment alignment); |
| 82 void Reset(); | 82 void Reset(); |
| 83 bool Done() const; | 83 bool Done() const; |
| 84 void SetBreakPoint(Handle<Object> break_point_object); | 84 void SetBreakPoint(Handle<Object> break_point_object); |
| 85 void ClearBreakPoint(Handle<Object> break_point_object); | 85 void ClearBreakPoint(Handle<Object> break_point_object); |
| 86 void SetOneShot(); | 86 void SetOneShot(); |
| 87 void ClearOneShot(); | 87 void ClearOneShot(); |
| 88 bool IsStepInLocation(Isolate* isolate); | 88 bool IsStepInLocation(Isolate* isolate); |
| 89 void PrepareStepIn(Isolate* isolate); | |
| 90 bool IsExit() const; | 89 bool IsExit() const; |
| 91 bool HasBreakPoint(); | 90 bool HasBreakPoint(); |
| 92 bool IsDebugBreak(); | 91 bool IsDebugBreak(); |
| 93 Object* BreakPointObjects(); | 92 Object* BreakPointObjects(); |
| 94 void ClearAllDebugBreak(); | 93 void ClearAllDebugBreak(); |
| 95 | 94 |
| 96 | 95 |
| 97 inline int code_position() { | 96 inline int code_position() { |
| 98 return static_cast<int>(pc() - debug_info_->code()->entry()); | 97 return static_cast<int>(pc() - debug_info_->code()->entry()); |
| 99 } | 98 } |
| (...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 // several frames above. | 766 // several frames above. |
| 768 // There is no calling conventions here, because it never actually gets | 767 // There is no calling conventions here, because it never actually gets |
| 769 // called, it only gets returned to. | 768 // called, it only gets returned to. |
| 770 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); | 769 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); |
| 771 }; | 770 }; |
| 772 | 771 |
| 773 | 772 |
| 774 } } // namespace v8::internal | 773 } } // namespace v8::internal |
| 775 | 774 |
| 776 #endif // V8_DEBUG_H_ | 775 #endif // V8_DEBUG_H_ |
| OLD | NEW |