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

Unified Diff: runtime/vm/compiler_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/compiler_stats.cc ('k') | runtime/vm/constant_propagator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler_test.cc
diff --git a/runtime/vm/compiler_test.cc b/runtime/vm/compiler_test.cc
index 8f3c1119291b6bbbb2764077ba323fa875129bb5..3448bf50134b1cda776d2845b90eeb7645812707 100644
--- a/runtime/vm/compiler_test.cc
+++ b/runtime/vm/compiler_test.cc
@@ -2,10 +2,10 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+#include "vm/compiler.h"
#include "platform/assert.h"
#include "vm/class_finalizer.h"
#include "vm/code_patcher.h"
-#include "vm/compiler.h"
#include "vm/dart_api_impl.h"
#include "vm/object.h"
#include "vm/safepoint.h"
@@ -28,7 +28,6 @@ ISOLATE_UNIT_TEST_CASE(CompileScript) {
EXPECT(CompilerTest::TestCompileScript(lib, script));
}
-
ISOLATE_UNIT_TEST_CASE(CompileFunction) {
const char* kScriptChars =
"class A {\n"
@@ -68,7 +67,6 @@ ISOLATE_UNIT_TEST_CASE(CompileFunction) {
function_source.ToCString());
}
-
ISOLATE_UNIT_TEST_CASE(CompileFunctionOnHelperThread) {
// Create a simple function and compile it without optimization.
const char* kScriptChars =
@@ -112,7 +110,6 @@ ISOLATE_UNIT_TEST_CASE(CompileFunctionOnHelperThread) {
BackgroundCompiler::Stop(isolate);
}
-
TEST_CASE(RegenerateAllocStubs) {
const char* kScriptChars =
"class A {\n"
@@ -150,7 +147,6 @@ TEST_CASE(RegenerateAllocStubs) {
EXPECT_VALID(result);
}
-
TEST_CASE(EvalExpression) {
const char* kScriptChars =
"int ten = 2 * 5; \n"
@@ -183,7 +179,6 @@ TEST_CASE(EvalExpression) {
EXPECT_STREQ("Herr Nilsson 100.", val.ToCString());
}
-
ISOLATE_UNIT_TEST_CASE(EvalExpressionWithLazyCompile) {
Library& lib = Library::Handle(Library::CoreLibrary());
@@ -198,7 +193,6 @@ ISOLATE_UNIT_TEST_CASE(EvalExpressionWithLazyCompile) {
EXPECT_EQ(7, Integer::Cast(val).AsInt64Value());
}
-
ISOLATE_UNIT_TEST_CASE(EvalExpressionExhaustCIDs) {
Library& lib = Library::Handle(Library::CoreLibrary());
« no previous file with comments | « runtime/vm/compiler_stats.cc ('k') | runtime/vm/constant_propagator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698