Index: runtime/vm/verifier.cc |
diff --git a/runtime/vm/verifier.cc b/runtime/vm/verifier.cc |
index a1e8ca28a817ddbeeed2cc9d6b17e6b13d7ad277..83f00d29e8d5a2600e471647bf9e4d4bf30549dc 100644 |
--- a/runtime/vm/verifier.cc |
+++ b/runtime/vm/verifier.cc |
@@ -86,7 +86,8 @@ VerifyCanonicalVisitor::VerifyCanonicalVisitor(Thread* thread) |
: thread_(thread), instanceHandle_(Instance::Handle(thread->zone())) {} |
void VerifyCanonicalVisitor::VisitObject(RawObject* obj) { |
- if (obj->GetClassId() >= kInstanceCid) { |
+ if ((obj->GetClassId() >= kInstanceCid) && |
+ (obj->GetClassId() != kTypeArgumentsCid)) { |
if (obj->IsCanonical()) { |
instanceHandle_ ^= obj; |
const bool is_canonical = instanceHandle_.CheckIsCanonical(thread_); |