Index: runtime/vm/flow_graph_compiler.cc |
=================================================================== |
--- runtime/vm/flow_graph_compiler.cc (revision 30381) |
+++ runtime/vm/flow_graph_compiler.cc (working copy) |
@@ -1177,7 +1177,7 @@ |
// Returns true if checking against this type is a direct class id comparison. |
bool FlowGraphCompiler::TypeCheckAsClassEquality(const AbstractType& type) { |
- ASSERT(type.IsFinalized() && !type.IsMalformed() && !type.IsMalbounded()); |
+ ASSERT(type.IsFinalized() && !type.IsMalformedOrMalbounded()); |
// Requires CHA, which can be applied in optimized code only, |
if (!FLAG_use_cha || !is_optimizing()) return false; |
if (!type.IsInstantiated()) return false; |