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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 2699853002: Sort class IDs before training AppJIT snapshots (Closed)
Patch Set: Created 3 years, 10 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/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index 71cef9f50143a18d062259a2828ec31c1914691c..96a782914f50e8c129d3ad44f4fa2136f848030c 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -6606,6 +6606,11 @@ Dart_Handle Dart_SaveJITFeedback(uint8_t** buffer, intptr_t* buffer_length) {
#endif
}
+DART_EXPORT void
Florian Schneider 2017/02/16 10:05:06 Formatting: One line?
erikcorry 2017/02/20 12:35:19 Done.
+Dart_SortClasses() {
+ DARTSCOPE(Thread::Current());
+ ClassFinalizer::SortClasses();
+}
rmacnak 2017/02/16 17:19:20 ClearAllCode
erikcorry 2017/02/20 12:35:19 Done.
DART_EXPORT Dart_Handle
Dart_Precompile(Dart_QualifiedFunctionName entry_points[],
« runtime/include/dart_api.h ('K') | « runtime/vm/class_table.cc ('k') | runtime/vm/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698