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; |