Chromium Code Reviews| Index: runtime/vm/visitor.h |
| =================================================================== |
| --- runtime/vm/visitor.h (revision 30197) |
| +++ runtime/vm/visitor.h (working copy) |
| @@ -6,6 +6,7 @@ |
| #define VM_VISITOR_H_ |
| #include "vm/globals.h" |
| +#include "vm/growable_array.h" |
| namespace dart { |
| @@ -24,6 +25,11 @@ |
| // Range of pointers to visit 'first' <= pointer <= 'last'. |
| virtual void VisitPointers(RawObject** first, RawObject** last) = 0; |
| + virtual bool visit_function_code() { return true; } |
|
srdjan
2013/11/19 19:18:29
const
zra
2013/11/22 17:18:54
Done.
|
| + virtual GrowableArray<RawFunction*>* skipped_code_functions() { |
| + return NULL; |
| + } |
| + |
| // len argument is the number of pointers to visit starting from 'p'. |
| void VisitPointers(RawObject** p, intptr_t len) { |
| VisitPointers(p, (p + len - 1)); |