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

Unified Diff: runtime/vm/method_recognizer.cc

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

Powered by Google App Engine
This is Rietveld 408576698