Index: runtime/vm/weak_code.cc |
diff --git a/runtime/vm/weak_code.cc b/runtime/vm/weak_code.cc |
index eb04d1f339b30ec3f57e39c0621e15ea632d28ee..d68cfff89d3fe34e3d1226ceafa39482889ecc4a 100644 |
--- a/runtime/vm/weak_code.cc |
+++ b/runtime/vm/weak_code.cc |
@@ -66,7 +66,7 @@ void WeakCodeReferences::DisableCode() { |
if (code_objects.IsNull()) { |
return; |
} |
- ASSERT(!FLAG_precompiled_mode); |
+ ASSERT(!FLAG_precompiled_runtime); |
UpdateArrayTo(Object::null_array()); |
// Disable all code on stack. |
Code& code = Code::Handle(); |