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

Unified Diff: runtime/vm/freelist_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/freelist.cc ('k') | runtime/vm/gc_marker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/freelist_test.cc
diff --git a/runtime/vm/freelist_test.cc b/runtime/vm/freelist_test.cc
index 4b240eb141a275fa1eb6c2b7163c9ca76eca9538..60394661d9ba6ee711919696068be9fd30c6f160 100644
--- a/runtime/vm/freelist_test.cc
+++ b/runtime/vm/freelist_test.cc
@@ -2,8 +2,8 @@
// 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 "platform/assert.h"
#include "vm/freelist.h"
+#include "platform/assert.h"
#include "vm/unit_test.h"
namespace dart {
@@ -18,7 +18,6 @@ static uword Allocate(FreeList* free_list, intptr_t size, bool is_protected) {
return result;
}
-
static void Free(FreeList* free_list,
uword address,
intptr_t size,
@@ -36,7 +35,6 @@ static void Free(FreeList* free_list,
}
}
-
static void TestFreeList(VirtualMemory* region,
FreeList* free_list,
bool is_protected) {
@@ -96,7 +94,6 @@ TEST_CASE(FreeList) {
delete free_list;
}
-
TEST_CASE(FreeListProtected) {
FreeList* free_list = new FreeList();
const intptr_t kBlobSize = 1 * MB;
@@ -110,7 +107,6 @@ TEST_CASE(FreeListProtected) {
delete free_list;
}
-
TEST_CASE(FreeListProtectedTinyObjects) {
FreeList* free_list = new FreeList();
const intptr_t kBlobSize = 1 * MB;
@@ -148,7 +144,6 @@ TEST_CASE(FreeListProtectedTinyObjects) {
delete[] objects;
}
-
TEST_CASE(FreeListProtectedVariableSizeObjects) {
FreeList* free_list = new FreeList();
const intptr_t kBlobSize = 8 * KB;
« no previous file with comments | « runtime/vm/freelist.cc ('k') | runtime/vm/gc_marker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698