Index: runtime/vm/code_generator_ia32.cc |
=================================================================== |
--- runtime/vm/code_generator_ia32.cc (revision 463) |
+++ runtime/vm/code_generator_ia32.cc (working copy) |
@@ -1390,6 +1390,7 @@ |
void CodeGenerator::GenerateInstanceOf(intptr_t token_index, |
const Type& type, |
bool negate_result) { |
+ ASSERT(type.IsFinalized()); |
const Bool& bool_true = Bool::ZoneHandle(Bool::True()); |
const Bool& bool_false = Bool::ZoneHandle(Bool::False()); |
@@ -1509,7 +1510,7 @@ |
ASSERT(FLAG_enable_type_checks); |
ASSERT(token_index >= 0); |
ASSERT(!dst_type.IsNull()); |
- ASSERT(dst_type.IsResolved()); |
+ ASSERT(dst_type.IsFinalized()); |
// Any expression is assignable to the VarType. Skip the test. |
if (dst_type.IsVarType()) { |