Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2375)

Unified Diff: runtime/vm/code_patcher_mips_test.cc

Issue 2481873005: clang-format runtime/vm (Closed)
Patch Set: Merge Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/code_patcher_mips.cc ('k') | runtime/vm/code_patcher_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_patcher_mips_test.cc
diff --git a/runtime/vm/code_patcher_mips_test.cc b/runtime/vm/code_patcher_mips_test.cc
index 8e07b7728b766d8d18749dce1221bfaec5278203..61bba69e8283dabdcdede834e9d13dda115bc20f 100644
--- a/runtime/vm/code_patcher_mips_test.cc
+++ b/runtime/vm/code_patcher_mips_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(S5, ic_data);
__ BranchLinkPatchable(*StubCode::OneArgCheckInlineCache_entry());
@@ -55,7 +50,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());
}
« no previous file with comments | « runtime/vm/code_patcher_mips.cc ('k') | runtime/vm/code_patcher_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698