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

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: 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.h ('k') | runtime/vm/visitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.cc
diff --git a/runtime/vm/raw_object.cc b/runtime/vm/raw_object.cc
index 88ebb5bab3ff03c916de2e400dd63d8ece6512a7..47e9306c47c11bb85cdb82a4d55fe9622e866df2 100644
--- a/runtime/vm/raw_object.cc
+++ b/runtime/vm/raw_object.cc
@@ -443,14 +443,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();
}
« no previous file with comments | « 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