| Index: runtime/vm/flow_graph_compiler_ia32.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_ia32.cc b/runtime/vm/flow_graph_compiler_ia32.cc
|
| index e3b0fcf41cc5b1783c3de820e09dd698c0de4b21..b2272fe9a9593076348e81e76048b7f1f7eb84ad 100644
|
| --- a/runtime/vm/flow_graph_compiler_ia32.cc
|
| +++ b/runtime/vm/flow_graph_compiler_ia32.cc
|
| @@ -279,12 +279,11 @@ FlowGraphCompiler::GenerateInstantiatedTypeWithArgumentsTest(
|
| const Class& type_class = Class::ZoneHandle(zone(), type.type_class());
|
| ASSERT((type_class.NumTypeArguments() > 0) || type_class.IsSignatureClass());
|
| const Register kInstanceReg = EAX;
|
| - Error& malformed_error = Error::Handle(zone());
|
| + Error& bound_error = Error::Handle(zone());
|
| const Type& int_type = Type::Handle(zone(), Type::IntType());
|
| - const bool smi_is_ok =
|
| - int_type.IsSubtypeOf(type, &malformed_error, Heap::kOld);
|
| + const bool smi_is_ok = int_type.IsSubtypeOf(type, &bound_error, Heap::kOld);
|
| // Malformed type should have been handled at graph construction time.
|
| - ASSERT(smi_is_ok || malformed_error.IsNull());
|
| + ASSERT(smi_is_ok || bound_error.IsNull());
|
| __ testl(kInstanceReg, Immediate(kSmiTagMask));
|
| if (smi_is_ok) {
|
| __ j(ZERO, is_instance_lbl);
|
|
|