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

Unified Diff: runtime/vm/method_recognizer.h

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
« no previous file with comments | « runtime/vm/kernel_to_il.cc ('k') | runtime/vm/method_recognizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/method_recognizer.h
diff --git a/runtime/vm/method_recognizer.h b/runtime/vm/method_recognizer.h
index ed079f6647a9ee9fb3f1c37070469b4812e674f7..dbe689995bc4e21ebd3a994566e06ae7463f315d 100644
--- a/runtime/vm/method_recognizer.h
+++ b/runtime/vm/method_recognizer.h
@@ -518,19 +518,15 @@ 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)
static void InitializeState();
-#endif // defined(DART_NO_SNAPSHOT).
};
-#if defined(DART_NO_SNAPSHOT)
Florian Schneider 2016/11/11 14:00:12 Why remove this #ifdef? Or more general: Please m
Vyacheslav Egorov (Google) 2016/11/11 15:29:47 It is removed because now even if you run with sna
Florian Schneider 2016/11/11 15:54:25 My comments applies to all occurrences of DART_NO_
#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).
// clang-format off
« no previous file with comments | « runtime/vm/kernel_to_il.cc ('k') | runtime/vm/method_recognizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698