Index: runtime/vm/visitor.h |
diff --git a/runtime/vm/visitor.h b/runtime/vm/visitor.h |
index a69349d81760a1f9996472f1217e1dc2cf116492..9e8780b8c1951016abe06a33871b7d43c04d4811 100644 |
--- a/runtime/vm/visitor.h |
+++ b/runtime/vm/visitor.h |
@@ -27,8 +27,8 @@ class ObjectPointerVisitor { |
virtual void VisitPointers(RawObject** first, RawObject** last) = 0; |
virtual bool visit_function_code() const { return true; } |
- virtual MallocGrowableArray<RawFunction*>* skipped_code_functions() { |
- return NULL; |
+ 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) { |