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

Unified Diff: runtime/vm/code_descriptors_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/code_descriptors.cc ('k') | runtime/vm/code_generator_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_descriptors_test.cc
diff --git a/runtime/vm/code_descriptors_test.cc b/runtime/vm/code_descriptors_test.cc
index 6f02a1cddc83d7abcde87818d9e6f0291c86e392..33ed6077a1bd5ce5da9816dad5724b5a834ed910 100644
--- a/runtime/vm/code_descriptors_test.cc
+++ b/runtime/vm/code_descriptors_test.cc
@@ -5,8 +5,8 @@
#include "platform/assert.h"
#include "vm/globals.h"
-#include "vm/ast.h"
#include "vm/assembler.h"
+#include "vm/ast.h"
#include "vm/code_descriptors.h"
#include "vm/compiler.h"
#include "vm/dart_entry.h"
@@ -20,7 +20,6 @@ namespace dart {
static const TokenPosition kPos = TokenPosition::kNoSource;
-
CODEGEN_TEST_GENERATE(StackMapCodegen, test) {
ParsedFunction* parsed_function =
new ParsedFunction(Thread::Current(), test->function());
@@ -166,7 +165,6 @@ CODEGEN_TEST_GENERATE(StackMapCodegen, test) {
}
CODEGEN_TEST_RUN(StackMapCodegen, Smi::New(1))
-
static void NativeFunc(Dart_NativeArguments args) {
Dart_Handle i = Dart_GetNativeArgument(args, 0);
Dart_Handle k = Dart_GetNativeArgument(args, 1);
@@ -181,7 +179,6 @@ static void NativeFunc(Dart_NativeArguments args) {
}
}
-
static Dart_NativeFunction native_resolver(Dart_Handle name,
int argument_count,
bool* auto_setup_scope) {
@@ -190,7 +187,6 @@ static Dart_NativeFunction native_resolver(Dart_Handle name,
return reinterpret_cast<Dart_NativeFunction>(&NativeFunc);
}
-
TEST_CASE(StackMapGC) {
const char* kScriptChars =
"class A {"
@@ -270,7 +266,6 @@ TEST_CASE(StackMapGC) {
EXPECT(!result.IsError());
}
-
TEST_CASE(DescriptorList_TokenPositions) {
DescriptorList* descriptors = new DescriptorList(64);
ASSERT(descriptors != NULL);
« no previous file with comments | « runtime/vm/code_descriptors.cc ('k') | runtime/vm/code_generator_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698