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

Unified Diff: runtime/vm/visitor.h

Issue 1287463003: Refactor skipped code functions interface. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: rm garbage file. Created 5 years, 4 months 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/raw_object.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « runtime/vm/raw_object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698