Index: runtime/bin/main.cc |
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc |
index dbcb739b1a14c45538153a99d47c0716ce76064c..1bf28335208a0dc7987e3068509dcad2c58bd475 100644 |
--- a/runtime/bin/main.cc |
+++ b/runtime/bin/main.cc |
@@ -1448,6 +1448,8 @@ bool RunMainIsolate(const char* script_name, CommandLineOptions* dart_options) { |
script_name); |
} |
+ if (gen_snapshot_kind == kAppJIT) Dart_SortClasses(); |
+ |
// The helper function _getMainClosure creates a closure for the main |
// entry point which is either explicitly or implictly exported from the |
// root library. |