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

Unified Diff: runtime/vm/object_store.h

Issue 2972883002: [vm] Enable mirrors in product mode. Allows building a product mode SDK. (Closed)
Patch Set: Created 3 years, 5 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 | « runtime/vm/object.cc ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_store.h
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h
index 23e067ca474bde9cf843d1414634c357f5440c5a..e12fb5d06808755afdd8dc49a0ccd4ec82f5a5ae 100644
--- a/runtime/vm/object_store.h
+++ b/runtime/vm/object_store.h
@@ -16,7 +16,7 @@ class ObjectPointerVisitor;
// A list of the bootstrap libraries including CamelName and name.
//
// These are listed in the order that they are compiled (see vm/bootstrap.cc).
-#define FOR_EACH_PRODUCT_LIBRARY(M) \
+#define FOR_EACH_BOOTSTRAP_LIBRARY(M) \
M(Core, core) \
M(Async, async) \
M(Collection, collection) \
@@ -25,20 +25,11 @@ class ObjectPointerVisitor;
M(Internal, _internal) \
M(Isolate, isolate) \
M(Math, math) \
+ M(Mirrors, mirrors) \
M(Profiler, profiler) \
M(TypedData, typed_data) \
M(VMService, _vmservice)
-#ifdef PRODUCT
-#define FOR_EACH_BOOTSTRAP_LIBRARY(M) FOR_EACH_PRODUCT_LIBRARY(M)
-
-#else
-#define FOR_EACH_BOOTSTRAP_LIBRARY(M) \
- FOR_EACH_PRODUCT_LIBRARY(M) \
- M(Mirrors, mirrors)
-
-#endif
-
// The object store is a per isolate instance which stores references to
// objects used by the VM.
// TODO(iposva): Move the actual store into the object heap for quick handling
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698