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

Unified Diff: runtime/vm/raw_object.cc

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
Index: runtime/vm/raw_object.cc
diff --git a/runtime/vm/raw_object.cc b/runtime/vm/raw_object.cc
index 67f0afc13733f31483bd1737916cfa10678c363d..c263d9894d48396dc7f990d69be13fb3638c4ed6 100644
--- a/runtime/vm/raw_object.cc
+++ b/runtime/vm/raw_object.cc
@@ -448,14 +448,14 @@ intptr_t RawFunction::VisitFunctionPointers(RawFunction* raw_obj,
visitor->VisitPointer(
reinterpret_cast<RawObject**>(&raw_obj->ptr()->instructions_));
} else {
- visitor->skipped_code_functions()->Add(raw_obj);
+ visitor->add_skipped_code_function(raw_obj);
}
if (ShouldVisitCode(raw_obj->ptr()->unoptimized_code_)) {
visitor->VisitPointer(
reinterpret_cast<RawObject**>(&raw_obj->ptr()->unoptimized_code_));
} else {
- visitor->skipped_code_functions()->Add(raw_obj);
+ visitor->add_skipped_code_function(raw_obj);
}
return Function::InstanceSize();
}
« runtime/vm/gc_marker.cc ('K') | « runtime/vm/raw_object.h ('k') | runtime/vm/visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698