Index: runtime/vm/flow_graph_compiler_arm.cc |
diff --git a/runtime/vm/flow_graph_compiler_arm.cc b/runtime/vm/flow_graph_compiler_arm.cc |
index abd8b65d5c288a3a4453a45b09d23b9acc694ab3..90d7e0e002cfe5fc6ece231186978b38e0530c64 100644 |
--- a/runtime/vm/flow_graph_compiler_arm.cc |
+++ b/runtime/vm/flow_graph_compiler_arm.cc |
@@ -673,7 +673,7 @@ void FlowGraphCompiler::GenerateAssertAssignable(intptr_t token_pos, |
const AbstractType& dst_type, |
const String& dst_name, |
LocationSummary* locs) { |
- 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. |