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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 | 695 |
696 private: | 696 private: |
697 Isolate* isolate() { return debug_->isolate_; } | 697 Isolate* isolate() { return debug_->isolate_; } |
698 | 698 |
699 Debug* debug_; | 699 Debug* debug_; |
700 DebugScope* prev_; // Previous scope if entered recursively. | 700 DebugScope* prev_; // Previous scope if entered recursively. |
701 StackFrame::Id break_frame_id_; // Previous break frame id. | 701 StackFrame::Id break_frame_id_; // Previous break frame id. |
702 int break_id_; // Previous break id. | 702 int break_id_; // Previous break id. |
703 bool failed_; // Did the debug context fail to load? | 703 bool failed_; // Did the debug context fail to load? |
704 SaveContext save_; // Saves previous context. | 704 SaveContext save_; // Saves previous context. |
| 705 PostponeInterruptsScope no_termination_exceptons_; |
705 }; | 706 }; |
706 | 707 |
707 | 708 |
708 // Stack allocated class for disabling break. | 709 // Stack allocated class for disabling break. |
709 class DisableBreak BASE_EMBEDDED { | 710 class DisableBreak BASE_EMBEDDED { |
710 public: | 711 public: |
711 explicit DisableBreak(Debug* debug, bool disable_break) | 712 explicit DisableBreak(Debug* debug, bool disable_break) |
712 : debug_(debug), old_state_(debug->break_disabled_) { | 713 : debug_(debug), old_state_(debug->break_disabled_) { |
713 debug_->break_disabled_ = disable_break; | 714 debug_->break_disabled_ = disable_break; |
714 } | 715 } |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 // several frames above. | 758 // several frames above. |
758 // There is no calling conventions here, because it never actually gets | 759 // There is no calling conventions here, because it never actually gets |
759 // called, it only gets returned to. | 760 // called, it only gets returned to. |
760 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); | 761 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); |
761 }; | 762 }; |
762 | 763 |
763 | 764 |
764 } } // namespace v8::internal | 765 } } // namespace v8::internal |
765 | 766 |
766 #endif // V8_DEBUG_H_ | 767 #endif // V8_DEBUG_H_ |
OLD | NEW |