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

Unified Diff: runtime/lib/mirrors.cc

Issue 1712843002: Remove mirrors in product mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months 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 | « no previous file | runtime/vm/bootstrap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/mirrors.cc
diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc
index e2ded52c04cc6d2a40b68b5d95d583a6d206f791..0422406a8cc2dfa4f2f360bf9960ed2d476853f4 100644
--- a/runtime/lib/mirrors.cc
+++ b/runtime/lib/mirrors.cc
@@ -18,6 +18,8 @@
namespace dart {
+#ifndef PRODUCT
+
DECLARE_FLAG(bool, lazy_dispatchers);
#define PROPAGATE_IF_MALFORMED(type) \
@@ -2089,5 +2091,6 @@ DEFINE_NATIVE_ENTRY(TypeMirror_subtypeTest, 2) {
return Bool::Get(a.IsSubtypeOf(b, NULL, NULL, Heap::kNew)).raw();
}
+#endif // !PRODUCT
} // namespace dart
« no previous file with comments | « no previous file | runtime/vm/bootstrap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698