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

Unified Diff: runtime/vm/isolate.h

Issue 883263004: Allows turning on checked mode on a per-isolate basis (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/isolate.h
===================================================================
--- runtime/vm/isolate.h (revision 43426)
+++ runtime/vm/isolate.h (working copy)
@@ -357,6 +357,9 @@
return OFFSET_OF(Isolate, single_step_);
}
+ void set_checked_mode(bool value) { checked_mode_ = value; }
+ bool checked_mode() const { return checked_mode_; }
+
// Requests that the debugger resume execution.
void Resume() {
resume_request_ = true;
@@ -649,6 +652,7 @@
Debugger* debugger_;
bool single_step_;
bool resume_request_;
+ bool checked_mode_;
Random random_;
Simulator* simulator_;
LongJumpScope* long_jump_base_;

Powered by Google App Engine
This is Rietveld 408576698