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

Side by Side Diff: runtime/vm/object_id_ring.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 unified diff | Download patch
« no previous file with comments | « runtime/vm/object_ia32_test.cc ('k') | runtime/vm/object_id_ring.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef RUNTIME_VM_OBJECT_ID_RING_H_ 5 #ifndef RUNTIME_VM_OBJECT_ID_RING_H_
6 #define RUNTIME_VM_OBJECT_ID_RING_H_ 6 #define RUNTIME_VM_OBJECT_ID_RING_H_
7 7
8 #include "platform/globals.h"
9
8 namespace dart { 10 namespace dart {
9 11
10 // Forward declarations. 12 // Forward declarations.
11 class RawObject; 13 class RawObject;
12 class Isolate; 14 class Isolate;
13 class ObjectPointerVisitor; 15 class ObjectPointerVisitor;
14 class JSONStream; 16 class JSONStream;
15 17
16 // A ring buffer of object pointers that have been given an id. An object 18 // A ring buffer of object pointers that have been given an id. An object
17 // may be pointed to by multiple ids. Objects contained in the ring will 19 // may be pointed to by multiple ids. Objects contained in the ring will
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 int32_t IdOfIndex(int32_t index); 78 int32_t IdOfIndex(int32_t index);
77 bool IsValidContiguous(int32_t id); 79 bool IsValidContiguous(int32_t id);
78 bool IsValidId(int32_t id); 80 bool IsValidId(int32_t id);
79 81
80 DISALLOW_COPY_AND_ASSIGN(ObjectIdRing); 82 DISALLOW_COPY_AND_ASSIGN(ObjectIdRing);
81 }; 83 };
82 84
83 } // namespace dart 85 } // namespace dart
84 86
85 #endif // RUNTIME_VM_OBJECT_ID_RING_H_ 87 #endif // RUNTIME_VM_OBJECT_ID_RING_H_
OLDNEW
« no previous file with comments | « runtime/vm/object_ia32_test.cc ('k') | runtime/vm/object_id_ring.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698