summaryrefslogtreecommitdiffstats
path: root/runtime/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/globals.h')
-rw-r--r--runtime/globals.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/globals.h b/runtime/globals.h
index 8c3ae56..83e3028 100644
--- a/runtime/globals.h
+++ b/runtime/globals.h
@@ -19,6 +19,7 @@
#include <stddef.h>
#include <stdint.h>
+#include "brooks_pointer.h"
namespace art {
@@ -92,6 +93,12 @@ static constexpr bool kMovingMethods = false;
// code, if possible.
static constexpr bool kEmbedClassInCode = true;
+#ifdef USE_BROOKS_POINTER
+static constexpr bool kUseBrooksPointer = true;
+#else
+static constexpr bool kUseBrooksPointer = false;
+#endif
+
} // namespace art
#endif // ART_RUNTIME_GLOBALS_H_