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

Unified Diff: runtime/vm/isolate.h

Issue 1569833003: Adds strict compilation flags to Dart_IsolateFlags (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 95068b7c7b755c22b423bdc2d0f44fab5dea33a9..ee90c2ac143097dd84a877b96c1a39f955f758fd 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -348,17 +348,6 @@ class Isolate : public BaseIsolate {
const Flags& flags() const { return flags_; }
- // Set the checks in the compiler to the highest level. Statically and when
- // executing generated code. Needs to be called before any code has been
- // compiled.
- void set_strict_compilation() {
- ASSERT(!has_compiled_code());
- flags_.type_checks_ = true;
- flags_.asserts_ = true;
- flags_.error_on_bad_type_ = true;
- flags_.error_on_bad_override_ = true;
- }
-
// Requests that the debugger resume execution.
void Resume() {
resume_request_ = true;
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698