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

Unified Diff: runtime/vm/stub_code_arm64_test.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 months 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/stub_code_arm64.cc ('k') | runtime/vm/stub_code_arm_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_arm64_test.cc
diff --git a/runtime/vm/stub_code_arm64_test.cc b/runtime/vm/stub_code_arm64_test.cc
index 7112f2635be07dbcb5e5cd7aa3e391e6823571e2..e489ced4dca19591b8b79a1e72dca734def66c1f 100644
--- a/runtime/vm/stub_code_arm64_test.cc
+++ b/runtime/vm/stub_code_arm64_test.cc
@@ -5,8 +5,8 @@
#include "vm/globals.h"
#if defined(TARGET_ARCH_ARM64)
-#include "vm/isolate.h"
#include "vm/dart_entry.h"
+#include "vm/isolate.h"
#include "vm/native_entry.h"
#include "vm/native_entry_test.h"
#include "vm/object.h"
@@ -34,7 +34,6 @@ static Function* CreateFunction(const char* name) {
return &function;
}
-
// Test calls to stub code which calls into the runtime.
static void GenerateCallToCallRuntimeStub(Assembler* assembler, int length) {
const int argc = 2;
@@ -51,7 +50,6 @@ static void GenerateCallToCallRuntimeStub(Assembler* assembler, int length) {
__ ret();
}
-
TEST_CASE(CallRuntimeStubCode) {
extern const Function& RegisterFakeFunction(const char* name,
const Code& code);
@@ -67,7 +65,6 @@ TEST_CASE(CallRuntimeStubCode) {
EXPECT_EQ(length, result.Length());
}
-
// Test calls to stub code which calls into a leaf runtime entry.
static void GenerateCallToCallLeafRuntimeStub(Assembler* assembler,
const char* value1,
@@ -86,7 +83,6 @@ static void GenerateCallToCallLeafRuntimeStub(Assembler* assembler,
__ ret(); // Return value is in R0.
}
-
TEST_CASE(CallLeafRuntimeStubCode) {
extern const Function& RegisterFakeFunction(const char* name,
const Code& code);
« no previous file with comments | « runtime/vm/stub_code_arm64.cc ('k') | runtime/vm/stub_code_arm_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698