Revision: 22144
Author:   [email protected]
Date:     Wed Jul  2 08:15:52 2014 UTC
Log:      Postpone termination exceptions in debug scope.

[email protected]
BUG=v8:3408
LOG=Y

Review URL: https://codereview.chromium.org/353393002
http://code.google.com/p/v8/source/detail?r=22144

Modified:
 /branches/bleeding_edge/src/debug.cc
 /branches/bleeding_edge/src/debug.h

=======================================
--- /branches/bleeding_edge/src/debug.cc        Tue Jul  1 12:12:34 2014 UTC
+++ /branches/bleeding_edge/src/debug.cc        Wed Jul  2 08:15:52 2014 UTC
@@ -3074,9 +3074,12 @@
 }


-DebugScope::DebugScope(Debug* debug) : debug_(debug),
-                                       prev_(debug->debugger_entry()),
-                                       save_(debug_->isolate_) {
+DebugScope::DebugScope(Debug* debug)
+    : debug_(debug),
+      prev_(debug->debugger_entry()),
+      save_(debug_->isolate_),
+      no_termination_exceptons_(debug_->isolate_,
+                                StackGuard::TERMINATE_EXECUTION) {
   // Link recursive debugger entry.
   debug_->thread_local_.current_debug_scope_ = this;

=======================================
--- /branches/bleeding_edge/src/debug.h Mon Jun 30 13:25:46 2014 UTC
+++ /branches/bleeding_edge/src/debug.h Wed Jul  2 08:15:52 2014 UTC
@@ -702,6 +702,7 @@
   int break_id_;                   // Previous break id.
   bool failed_;                    // Did the debug context fail to load?
   SaveContext save_;               // Saves previous context.
+  PostponeInterruptsScope no_termination_exceptons_;
 };


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to