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 |