Index: runtime/vm/visitor.h |
diff --git a/runtime/vm/visitor.h b/runtime/vm/visitor.h |
index 3c35b1083f69fa49045ab51a53ef0fdf1e2527cb..51f95edd4a14113fad85fb2195394e73c2e458ec 100644 |
--- a/runtime/vm/visitor.h |
+++ b/runtime/vm/visitor.h |
@@ -18,8 +18,8 @@ class RawObject; |
// An object pointer visitor interface. |
class ObjectPointerVisitor { |
public: |
- explicit ObjectPointerVisitor(Isolate* isolate) : isolate_(isolate) { } |
- virtual ~ObjectPointerVisitor() { } |
+ explicit ObjectPointerVisitor(Isolate* isolate) : isolate_(isolate) {} |
+ virtual ~ObjectPointerVisitor() {} |
Isolate* isolate() const { return isolate_; } |
@@ -27,15 +27,13 @@ class ObjectPointerVisitor { |
virtual void VisitPointers(RawObject** first, RawObject** last) = 0; |
virtual bool visit_function_code() const { return true; } |
- virtual void add_skipped_code_function(RawFunction* funct) { |
- UNREACHABLE(); |
- } |
+ virtual void add_skipped_code_function(RawFunction* funct) { UNREACHABLE(); } |
// len argument is the number of pointers to visit starting from 'p'. |
void VisitPointers(RawObject** p, intptr_t len) { |
VisitPointers(p, (p + len - 1)); |
} |
- void VisitPointer(RawObject** p) { VisitPointers(p , p); } |
+ void VisitPointer(RawObject** p) { VisitPointers(p, p); } |
private: |
Isolate* isolate_; |
@@ -48,9 +46,9 @@ class ObjectPointerVisitor { |
// An object visitor interface. |
class ObjectVisitor { |
public: |
- ObjectVisitor() { } |
+ ObjectVisitor() {} |
- virtual ~ObjectVisitor() { } |
+ virtual ~ObjectVisitor() {} |
// Invoked for each object. |
virtual void VisitObject(RawObject* obj) = 0; |
@@ -63,8 +61,8 @@ class ObjectVisitor { |
// An object finder visitor interface. |
class FindObjectVisitor { |
public: |
- FindObjectVisitor() { } |
- virtual ~FindObjectVisitor() { } |
+ FindObjectVisitor() {} |
+ virtual ~FindObjectVisitor() {} |
// Allow to specify a address filter. |
virtual uword filter_addr() const { return 0; } |