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

Unified Diff: runtime/vm/zone.h

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/weak_table.cc ('k') | runtime/vm/zone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/zone.h
diff --git a/runtime/vm/zone.h b/runtime/vm/zone.h
index 349168194824eb62a1f3f17d9a0baf53ece3bded..b65d2df16c44ab4621acac9662ebfc524e7a8605 100644
--- a/runtime/vm/zone.h
+++ b/runtime/vm/zone.h
@@ -9,8 +9,8 @@
#include "vm/allocation.h"
#include "vm/handles.h"
#include "vm/json_stream.h"
-#include "vm/thread.h"
#include "vm/memory_region.h"
+#include "vm/thread.h"
namespace dart {
@@ -42,7 +42,6 @@ class Zone {
// responsible for avoiding integer overflow yourself.
inline uword AllocUnsafe(intptr_t size);
-
// Make a copy of the string in the zone allocated area.
char* MakeCopyOfString(const char* str);
@@ -165,7 +164,6 @@ class Zone {
DISALLOW_COPY_AND_ASSIGN(Zone);
};
-
class StackZone : public StackResource {
public:
// Create an empty zone and set is at the current zone for the Thread.
@@ -217,7 +215,6 @@ inline uword Zone::AllocUnsafe(intptr_t size) {
return result;
}
-
template <class ElementType>
inline void Zone::CheckLength(intptr_t len) {
const intptr_t kElementSize = sizeof(ElementType);
@@ -227,7 +224,6 @@ inline void Zone::CheckLength(intptr_t len) {
}
}
-
template <class ElementType>
inline ElementType* Zone::Alloc(intptr_t len) {
CheckLength<ElementType>(len);
« no previous file with comments | « runtime/vm/weak_table.cc ('k') | runtime/vm/zone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698