Index: runtime/vm/object_test.cc |
diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc |
index 7d70f200231603b73b309a9232c917a30e00f560..05ddd32d1dbad48878a9551ee1e3f4d21abd717f 100644 |
--- a/runtime/vm/object_test.cc |
+++ b/runtime/vm/object_test.cc |
@@ -3038,7 +3038,8 @@ VM_TEST_CASE(ICData) { |
const Array& args_descriptor = |
Array::Handle(ArgumentsDescriptor::New(1, Object::null_array())); |
ICData& o1 = ICData::Handle(); |
- o1 = ICData::New(function, target_name, args_descriptor, id, num_args_tested); |
+ o1 = ICData::New(function, target_name, args_descriptor, id, |
+ num_args_tested, false); |
EXPECT_EQ(1, o1.NumArgsTested()); |
EXPECT_EQ(id, o1.deopt_id()); |
EXPECT_EQ(function.raw(), o1.Owner()); |
@@ -3077,7 +3078,7 @@ VM_TEST_CASE(ICData) { |
EXPECT_EQ(2, o1.NumberOfUsedChecks()); |
ICData& o2 = ICData::Handle(); |
- o2 = ICData::New(function, target_name, args_descriptor, 57, 2); |
+ o2 = ICData::New(function, target_name, args_descriptor, 57, 2, false); |
EXPECT_EQ(2, o2.NumArgsTested()); |
EXPECT_EQ(57, o2.deopt_id()); |
EXPECT_EQ(function.raw(), o2.Owner()); |
@@ -3096,7 +3097,8 @@ VM_TEST_CASE(ICData) { |
// Check ICData for unoptimized static calls. |
const intptr_t kNumArgsChecked = 0; |
const ICData& scall_icdata = ICData::Handle( |
- ICData::New(function, target_name, args_descriptor, 57, kNumArgsChecked)); |
+ ICData::New(function, target_name, args_descriptor, 57, |
+ kNumArgsChecked, false)); |
scall_icdata.AddTarget(target1); |
EXPECT_EQ(target1.raw(), scall_icdata.GetTargetAt(0)); |
} |