| Index: dart/runtime/vm/code_generator.cc
|
| ===================================================================
|
| --- dart/runtime/vm/code_generator.cc (revision 29958)
|
| +++ dart/runtime/vm/code_generator.cc (working copy)
|
| @@ -545,6 +545,9 @@
|
| const SubtypeTestCache& cache =
|
| SubtypeTestCache::CheckedHandle(arguments.ArgAt(4));
|
| ASSERT(type.IsFinalized());
|
| + ASSERT(!type.IsDynamicType()); // No need to check assignment.
|
| + ASSERT(!type.IsMalformed()); // Already checked in code generator.
|
| + ASSERT(!type.IsMalbounded()); // Already checked in code generator.
|
| Error& bound_error = Error::Handle();
|
| const Bool& result =
|
| Bool::Get(instance.IsInstanceOf(type,
|
|
|