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

Unified Diff: runtime/vm/gc_marker.h

Issue 2481873005: clang-format runtime/vm (Closed)
Patch Set: Merge Created 4 years, 1 month 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_test.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/gc_marker.h
diff --git a/runtime/vm/gc_marker.h b/runtime/vm/gc_marker.h
index 5a5f2ea911823be9c802fc849e6507b5141fce8c..ace01c41066b8505edff455a29899e28e0ebf239 100644
--- a/runtime/vm/gc_marker.h
+++ b/runtime/vm/gc_marker.h
@@ -22,9 +22,8 @@ class RawWeakProperty;
// of the mark-sweep collection. The marking bit used is defined in RawObject.
class GCMarker : public ValueObject {
public:
- explicit GCMarker(Heap* heap)
- : heap_(heap), marked_bytes_(0) { }
- ~GCMarker() { }
+ explicit GCMarker(Heap* heap) : heap_(heap), marked_bytes_(0) {}
+ ~GCMarker() {}
void MarkObjects(Isolate* isolate,
PageSpace* page_space,
@@ -38,15 +37,16 @@ class GCMarker : public ValueObject {
void Epilogue(Isolate* isolate, bool invoke_api_callbacks);
void IterateRoots(Isolate* isolate,
ObjectPointerVisitor* visitor,
- intptr_t slice_index, intptr_t num_slices);
+ intptr_t slice_index,
+ intptr_t num_slices);
void IterateWeakRoots(Isolate* isolate, HandleVisitor* visitor);
- template<class MarkingVisitorType>
+ template <class MarkingVisitorType>
void IterateWeakReferences(Isolate* isolate, MarkingVisitorType* visitor);
void ProcessWeakTables(PageSpace* page_space);
void ProcessObjectIdTable(Isolate* isolate);
// Called by anyone: finalize and accumulate stats from 'visitor'.
- template<class MarkingVisitorType>
+ template <class MarkingVisitorType>
void FinalizeResultsFrom(MarkingVisitorType* visitor);
Heap* heap_;
« no previous file with comments | « runtime/vm/freelist_test.cc ('k') | runtime/vm/gc_marker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698