| Index: runtime/vm/flow_graph_builder.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_builder.cc (revision 10694)
|
| +++ runtime/vm/flow_graph_builder.cc (working copy)
|
| @@ -445,6 +445,8 @@
|
| // Propagated types are not set yet.
|
| // More checks will possibly be eliminated during type propagation.
|
| const bool eliminated = value->CompileTypeIsMoreSpecificThan(dst_type);
|
| + // Note: 'eliminated' is true for a null constant value, since its type,
|
| + // i.e. bottom type, is more specific than any type.
|
| if (FLAG_trace_type_check_elimination) {
|
| FlowGraphPrinter::PrintTypeCheck(owner()->parsed_function(),
|
| token_pos,
|
|
|