Index: runtime/vm/method_recognizer.h |
diff --git a/runtime/vm/method_recognizer.h b/runtime/vm/method_recognizer.h |
index ed079f6647a9ee9fb3f1c37070469b4812e674f7..580582f957540f7017cca12350a08d938d455786 100644 |
--- a/runtime/vm/method_recognizer.h |
+++ b/runtime/vm/method_recognizer.h |
@@ -518,19 +518,20 @@ class MethodRecognizer : public AllStatic { |
static intptr_t ResultCid(const Function& function); |
static intptr_t MethodKindToReceiverCid(Kind kind); |
static const char* KindToCString(Kind kind); |
-#if defined(DART_NO_SNAPSHOT) |
+ |
+#if !defined(DART_PRECOMPILED_RUNTIME) |
static void InitializeState(); |
-#endif // defined(DART_NO_SNAPSHOT). |
+#endif // !defined(DART_PRECOMPILED_RUNTIME) |
}; |
-#if defined(DART_NO_SNAPSHOT) |
+#if !defined(DART_PRECOMPILED_RUNTIME) |
#define CHECK_FINGERPRINT2(f, p0, p1, fp) \ |
ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1, fp)) |
#define CHECK_FINGERPRINT3(f, p0, p1, p2, fp) \ |
ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1 ", " #p2, fp)) |
-#endif // defined(DART_NO_SNAPSHOT). |
+#endif // !defined(DART_PRECOMPILED_RUNTIME) |
// clang-format off |