Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index 71cd04489614d2c5095625e368445649df237ed3..5f3c174a1beded8e1ffb2d1623457c2739f4e667 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -15310,6 +15310,12 @@ bool Instance::CheckIsCanonical(Thread* thread) const { |
const Class& cls = Class::Handle(zone, this->clazz()); |
SafepointMutexLocker ml(isolate->constant_canonicalization_mutex()); |
result ^= cls.LookupCanonicalInstance(zone, *this); |
+ // Temporary workaround for issue (26988). |
Cutch
2016/08/01 14:58:50
TODO(johnmccutchan):
siva
2016/08/02 00:03:56
Done.
|
+ if ((result.raw() != raw()) && |
+ isolate->HasAttemptedReload() && |
+ (GetClassId() == kImmutableArrayCid)) { |
+ return true; |
+ } |
return (result.raw() == this->raw()); |
} |
#endif // DEBUG |