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

Unified Diff: runtime/vm/handles.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/guard_field_test.cc ('k') | runtime/vm/handles.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/handles.h
diff --git a/runtime/vm/handles.h b/runtime/vm/handles.h
index b96a3bf88c2dfa5ec483a085ab121efe533c57a4..374181a1363760034312f83e005648e6a0146d6d 100644
--- a/runtime/vm/handles.h
+++ b/runtime/vm/handles.h
@@ -55,7 +55,6 @@ namespace dart {
// ....
// }
-
// Forward declarations.
class ObjectPointerVisitor;
class Thread;
@@ -77,7 +76,6 @@ class HandleVisitor {
DISALLOW_IMPLICIT_CONSTRUCTORS(HandleVisitor);
};
-
template <int kHandleSizeInWords, int kHandlesPerChunk, int kOffsetOfRawPtr>
class Handles {
public:
@@ -239,7 +237,6 @@ class Handles {
DISALLOW_COPY_AND_ASSIGN(Handles);
};
-
static const int kVMHandleSizeInWords = 2;
static const int kVMHandlesPerChunk = 64;
static const int kOffsetOfRawPtr = kWordSize;
@@ -281,7 +278,6 @@ class VMHandles : public Handles<kVMHandleSizeInWords,
friend class ApiNativeScope;
};
-
// The class HandleScope is used to start a new handles scope in the code.
// It is used as follows:
// {
@@ -311,7 +307,6 @@ class HandleScope : public StackResource {
#define HANDLESCOPE(thread) \
dart::HandleScope vm_internal_handles_scope_(thread);
-
// The class NoHandleScope is used in critical regions of the virtual machine
// code where raw dart object pointers are directly manipulated.
// This class asserts that we do not add code that will allocate new handles
« no previous file with comments | « runtime/vm/guard_field_test.cc ('k') | runtime/vm/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698