OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 VM_VISITOR_H_ | 5 #ifndef RUNTIME_VM_VISITOR_H_ |
6 #define VM_VISITOR_H_ | 6 #define RUNTIME_VM_VISITOR_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/globals.h" | 9 #include "vm/globals.h" |
10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
11 | 11 |
12 namespace dart { | 12 namespace dart { |
13 | 13 |
14 // Forward declarations. | 14 // Forward declarations. |
15 class Isolate; | 15 class Isolate; |
16 class RawObject; | 16 class RawObject; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 // Check if object matches find condition. | 76 // Check if object matches find condition. |
77 virtual bool FindObject(RawObject* obj) const = 0; | 77 virtual bool FindObject(RawObject* obj) const = 0; |
78 | 78 |
79 private: | 79 private: |
80 DISALLOW_COPY_AND_ASSIGN(FindObjectVisitor); | 80 DISALLOW_COPY_AND_ASSIGN(FindObjectVisitor); |
81 }; | 81 }; |
82 | 82 |
83 } // namespace dart | 83 } // namespace dart |
84 | 84 |
85 #endif // VM_VISITOR_H_ | 85 #endif // RUNTIME_VM_VISITOR_H_ |
OLD | NEW |