Index: runtime/vm/flow_graph_compiler_mips.cc |
diff --git a/runtime/vm/flow_graph_compiler_mips.cc b/runtime/vm/flow_graph_compiler_mips.cc |
index f98bb67b6aa76f8e010a96e3eafae1002e413de5..db9c3d0a49be92d66b8072b82026e14eaa91abf7 100644 |
--- a/runtime/vm/flow_graph_compiler_mips.cc |
+++ b/runtime/vm/flow_graph_compiler_mips.cc |
@@ -667,7 +667,7 @@ void FlowGraphCompiler::GenerateAssertAssignable(intptr_t token_pos, |
const String& dst_name, |
LocationSummary* locs) { |
__ Comment("AssertAssignable"); |
- ASSERT(Scanner::ValidSourcePosition(token_pos)); |
+ ASSERT(!Token::IsClassifying(token_pos)); |
ASSERT(!dst_type.IsNull()); |
ASSERT(dst_type.IsFinalized()); |
// Assignable check is skipped in FlowGraphBuilder, not here. |