Index: runtime/vm/code_patcher_x64_test.cc |
diff --git a/runtime/vm/code_patcher_x64_test.cc b/runtime/vm/code_patcher_x64_test.cc |
index 5b0ab39761c89e7bd96df6a98bc986c3ea2327e9..5c7b0295de13d3dffde703aaad21d1b5022fc1fd 100644 |
--- a/runtime/vm/code_patcher_x64_test.cc |
+++ b/runtime/vm/code_patcher_x64_test.cc |
@@ -33,8 +33,10 @@ ASSEMBLER_TEST_GENERATE(IcDataAccess, assembler) { |
false, owner_class, TokenPosition::kNoSource)); |
const String& target_name = String::Handle(String::New("targetFunction")); |
- const Array& args_descriptor = |
- Array::Handle(ArgumentsDescriptor::New(1, Object::null_array())); |
+ const intptr_t kTypeArgsLen = 0; |
+ const intptr_t kNumArgs = 1; |
+ const Array& args_descriptor = Array::Handle( |
+ ArgumentsDescriptor::New(kTypeArgsLen, kNumArgs, Object::null_array())); |
const ICData& ic_data = ICData::ZoneHandle( |
ICData::New(function, target_name, args_descriptor, 15, 1, false)); |