| Index: runtime/vm/intermediate_language.cc
|
| diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
|
| index 5d82fef2e27cd73b6240bc57c7388ff8b30cb94c..92469b61758c86999aebc5b3737d51092af190c4 100644
|
| --- a/runtime/vm/intermediate_language.cc
|
| +++ b/runtime/vm/intermediate_language.cc
|
| @@ -106,7 +106,9 @@ bool LoadFieldInstr::AttributesEqual(Instruction* other) const {
|
| ASSERT(other_load != NULL);
|
| ASSERT((offset_in_bytes() != other_load->offset_in_bytes()) ||
|
| ((immutable_ == other_load->immutable_) &&
|
| - (ResultCid() == other_load->ResultCid())));
|
| + ((ResultCid() == other_load->ResultCid()) ||
|
| + (ResultCid() == kDynamicCid) ||
|
| + (other_load->ResultCid() == kDynamicCid))));
|
| return offset_in_bytes() == other_load->offset_in_bytes();
|
| }
|
|
|
|
|