Index: runtime/vm/flow_graph_compiler_mips.cc |
diff --git a/runtime/vm/flow_graph_compiler_mips.cc b/runtime/vm/flow_graph_compiler_mips.cc |
index 654b75503b083bbc0ebc8bf8d784eb63af07b9b8..f9777c06cb2639dab7f475c951fe3f8024819448 100644 |
--- a/runtime/vm/flow_graph_compiler_mips.cc |
+++ b/runtime/vm/flow_graph_compiler_mips.cc |
@@ -270,7 +270,8 @@ FlowGraphCompiler::GenerateInstantiatedTypeWithArgumentsTest( |
const Register kInstanceReg = A0; |
Error& bound_error = Error::Handle(zone()); |
const Type& int_type = Type::Handle(zone(), Type::IntType()); |
- const bool smi_is_ok = int_type.IsSubtypeOf(type, &bound_error, Heap::kOld); |
+ const bool smi_is_ok = |
+ int_type.IsSubtypeOf(type, &bound_error, NULL, Heap::kOld); |
// Malformed type should have been handled at graph construction time. |
ASSERT(smi_is_ok || bound_error.IsNull()); |
__ andi(CMPRES1, kInstanceReg, Immediate(kSmiTagMask)); |
@@ -309,7 +310,7 @@ FlowGraphCompiler::GenerateInstantiatedTypeWithArgumentsTest( |
ASSERT(tp_argument.HasResolvedTypeClass()); |
// Check if type argument is dynamic or Object. |
const Type& object_type = Type::Handle(zone(), Type::ObjectType()); |
- if (object_type.IsSubtypeOf(tp_argument, NULL, Heap::kOld)) { |
+ if (object_type.IsSubtypeOf(tp_argument, NULL, NULL, Heap::kOld)) { |
// Instance class test only necessary. |
return GenerateSubtype1TestCacheLookup( |
token_pos, type_class, is_instance_lbl, is_not_instance_lbl); |
@@ -369,6 +370,7 @@ bool FlowGraphCompiler::GenerateInstantiatedTypeNoArgumentsTest( |
type_class, |
TypeArguments::Handle(zone()), |
NULL, |
+ NULL, |
Heap::kOld)) { |
__ beq(T0, ZR, is_instance_lbl); |
} else { |
@@ -394,7 +396,7 @@ bool FlowGraphCompiler::GenerateInstantiatedTypeNoArgumentsTest( |
// Custom checking for numbers (Smi, Mint, Bigint and Double). |
// Note that instance is not Smi (checked above). |
if (type.IsSubtypeOf( |
- Type::Handle(zone(), Type::Number()), NULL, Heap::kOld)) { |
+ Type::Handle(zone(), Type::Number()), NULL, NULL, Heap::kOld)) { |
GenerateNumberTypeCheck( |
kClassIdReg, type, is_instance_lbl, is_not_instance_lbl); |
return false; |