| Index: runtime/vm/code_generator.cc
|
| ===================================================================
|
| --- runtime/vm/code_generator.cc (revision 1937)
|
| +++ runtime/vm/code_generator.cc (working copy)
|
| @@ -326,7 +326,9 @@
|
| instance.IsInstanceOf(type, type_instantiator) ?
|
| Bool::True() : Bool::False());
|
| if (FLAG_trace_type_checks) {
|
| - const Type& instance_type = Type::Handle(instance.GetType());
|
| + const ParameterizedType& instance_type =
|
| + ParameterizedType::Handle(instance.GetType());
|
| + ASSERT(instance_type.IsInstantiated());
|
| if (type.IsInstantiated()) {
|
| OS::Print("InstanceOf: '%s' %s '%s'\n",
|
| String::Handle(instance_type.Name()).ToCString(),
|
|
|