| Index: runtime/vm/flow_graph_compiler_ia32.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_ia32.cc b/runtime/vm/flow_graph_compiler_ia32.cc
|
| index 53a26cc8446d4092b9caa57d89a5f1ef6432f04d..e9b180820a2cce8ad82032e56540268da39a607f 100644
|
| --- a/runtime/vm/flow_graph_compiler_ia32.cc
|
| +++ b/runtime/vm/flow_graph_compiler_ia32.cc
|
| @@ -685,7 +685,7 @@ void FlowGraphCompiler::GenerateAssertAssignable(intptr_t token_pos,
|
| const AbstractType& dst_type,
|
| const String& dst_name,
|
| LocationSummary* locs) {
|
| - ASSERT(token_pos >= 0);
|
| + ASSERT(Scanner::ValidSourcePosition(token_pos));
|
| ASSERT(!dst_type.IsNull());
|
| ASSERT(dst_type.IsFinalized());
|
| // Assignable check is skipped in FlowGraphBuilder, not here.
|
|
|