Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: src/debug.h

Issue 369523002: Revert "Postpone termination exceptions in debug scope." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_;
706 }; 705 };
707 706
708 707
709 // Stack allocated class for disabling break. 708 // Stack allocated class for disabling break.
710 class DisableBreak BASE_EMBEDDED { 709 class DisableBreak BASE_EMBEDDED {
711 public: 710 public:
712 explicit DisableBreak(Debug* debug, bool disable_break) 711 explicit DisableBreak(Debug* debug, bool disable_break)
713 : debug_(debug), old_state_(debug->break_disabled_) { 712 : debug_(debug), old_state_(debug->break_disabled_) {
714 debug_->break_disabled_ = disable_break; 713 debug_->break_disabled_ = disable_break;
715 } 714 }
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 // several frames above. 757 // several frames above.
759 // There is no calling conventions here, because it never actually gets 758 // There is no calling conventions here, because it never actually gets
760 // called, it only gets returned to. 759 // called, it only gets returned to.
761 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); 760 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm);
762 }; 761 };
763 762
764 763
765 } } // namespace v8::internal 764 } } // namespace v8::internal
766 765
767 #endif // V8_DEBUG_H_ 766 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698