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

Unified Diff: runtime/vm/program_visitor.h

Issue 2815533003: Refactor AOT deduplication steps so they can run before an app-jit snapshot as well. (Closed)
Patch Set: . Created 3 years, 8 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/precompiler.cc ('k') | runtime/vm/program_visitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/program_visitor.h
diff --git a/runtime/vm/program_visitor.h b/runtime/vm/program_visitor.h
index 5ac81308622799902692944f32bed8a640e0f925..cdc6b0191de53275e85e11ce4b8da3a23d75e52e 100644
--- a/runtime/vm/program_visitor.h
+++ b/runtime/vm/program_visitor.h
@@ -26,6 +26,17 @@ class ProgramVisitor : public AllStatic {
public:
static void VisitFunctions(FunctionVisitor* visitor);
static void VisitClasses(ClassVisitor* visitor);
+
+ static void Dedup();
+
+ private:
+ static void ShareMegamorphicBuckets();
+ static void DedupStackMaps();
+ static void DedupPcDescriptors();
+ static void DedupDeoptEntries();
+ static void DedupCodeSourceMaps();
+ static void DedupLists();
+ static void DedupInstructions();
};
} // namespace dart
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/program_visitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698