Index: runtime/vm/code_patcher_ia32_test.cc |
diff --git a/runtime/vm/code_patcher_ia32_test.cc b/runtime/vm/code_patcher_ia32_test.cc |
index e7a6fab6ff836689739fa9d58e22afdfa4a5aede..b3cf0cf981aaa5c24f456c6c12c2c73163e7f8cc 100644 |
--- a/runtime/vm/code_patcher_ia32_test.cc |
+++ b/runtime/vm/code_patcher_ia32_test.cc |
@@ -26,22 +26,17 @@ ASSEMBLER_TEST_GENERATE(IcDataAccess, assembler) { |
const Script& script = Script::Handle(); |
const Class& owner_class = Class::Handle(Class::New( |
Library::Handle(), class_name, script, TokenPosition::kNoSource)); |
- const String& function_name = String::Handle(Symbols::New(thread, |
- "callerFunction")); |
- const Function& function = Function::Handle( |
- Function::New(function_name, RawFunction::kRegularFunction, |
- true, false, false, false, false, owner_class, |
- TokenPosition::kNoSource)); |
+ const String& function_name = |
+ String::Handle(Symbols::New(thread, "callerFunction")); |
+ const Function& function = Function::Handle(Function::New( |
+ function_name, RawFunction::kRegularFunction, true, false, false, false, |
+ 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 ICData& ic_data = ICData::ZoneHandle(ICData::New(function, |
- target_name, |
- args_descriptor, |
- 15, |
- 1, |
- false)); |
+ const ICData& ic_data = ICData::ZoneHandle( |
+ ICData::New(function, target_name, args_descriptor, 15, 1, false)); |
__ LoadObject(ECX, ic_data); |
__ Call(*StubCode::OneArgCheckInlineCache_entry()); |
@@ -54,7 +49,7 @@ ASSEMBLER_TEST_RUN(IcDataAccess, test) { |
ICData& ic_data = ICData::Handle(); |
CodePatcher::GetInstanceCallAt(return_address, test->code(), &ic_data); |
EXPECT_STREQ("targetFunction", |
- String::Handle(ic_data.target_name()).ToCString()); |
+ String::Handle(ic_data.target_name()).ToCString()); |
EXPECT_EQ(1, ic_data.NumArgsTested()); |
EXPECT_EQ(0, ic_data.NumberOfChecks()); |
} |