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

Unified Diff: runtime/vm/method_recognizer.cc

Issue 2485993002: VM: Support bootstrapping core libraries from Kernel binaries instead of source. (Closed)
Patch Set: rebase Created 4 years, 1 month 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/method_recognizer.cc
diff --git a/runtime/vm/method_recognizer.cc b/runtime/vm/method_recognizer.cc
index f25e4d30de6956aacd9cf35ba2e1d1b3f144f13c..eda7d1da5e5e0e16e6205cf3a1a5cbdab00052dd 100644
--- a/runtime/vm/method_recognizer.cc
+++ b/runtime/vm/method_recognizer.cc
@@ -132,7 +132,6 @@ const char* MethodRecognizer::KindToCString(Kind kind) {
}
-#if defined(DART_NO_SNAPSHOT)
void MethodRecognizer::InitializeState() {
GrowableArray<Library*> libs(3);
libs.Add(&Library::ZoneHandle(Library::CoreLibrary()));
@@ -182,6 +181,6 @@ void MethodRecognizer::InitializeState() {
#undef SET_IS_POLYMORPHIC_TARGET
#undef SET_FUNCTION_BIT
}
-#endif // defined(DART_NO_SNAPSHOT).
+
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698