| Index: runtime/vm/intermediate_language.cc
|
| ===================================================================
|
| --- runtime/vm/intermediate_language.cc (revision 42037)
|
| +++ runtime/vm/intermediate_language.cc (working copy)
|
| @@ -2142,7 +2142,7 @@
|
| Definition* defn = value()->definition();
|
| if (defn->IsComparison() && defn->HasOnlyUse(value())) {
|
| // Comparisons always have a bool result.
|
| - ASSERT(value()->Type()->ToCid() == kBoolCid);
|
| + ASSERT(value()->definition()->Type()->ToCid() == kBoolCid);
|
| defn->AsComparison()->NegateComparison();
|
| return defn;
|
| }
|
|
|