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

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: 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
« runtime/vm/gc_marker.cc ('K') | « 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 70fe619e215df01ff34ad7f4c16c3f81b3fd4e2a..6e3373be3fd686fa12ad30ff0a91b04061d78c28 100644
--- a/runtime/vm/visitor.h
+++ b/runtime/vm/visitor.h
@@ -26,8 +26,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) {
« runtime/vm/gc_marker.cc ('K') | « runtime/vm/raw_object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698