summaryrefslogtreecommitdiffstats
path: root/runtime/globals.h
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-11-25 23:42:00 +0000
committerNicolas Geoffray <ngeoffray@google.com>2014-11-25 23:56:30 +0000
commit9bb492a33c97e72d0c43a4ee968e34cc32534981 (patch)
tree93c3b4218e2bdecf80e55ebe77eda6dbeb2df2f9 /runtime/globals.h
parentdc00c73d24a46c8522176fbc539f3e39710807c2 (diff)
downloadart-9bb492a33c97e72d0c43a4ee968e34cc32534981.zip
art-9bb492a33c97e72d0c43a4ee968e34cc32534981.tar.gz
art-9bb492a33c97e72d0c43a4ee968e34cc32534981.tar.bz2
Add ART_USE_OPTIMIZING_COMPILER flag.
Change-Id: I86065aec5bfe59729c6a4064a3e54d5b523ca45c
Diffstat (limited to 'runtime/globals.h')
-rw-r--r--runtime/globals.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/globals.h b/runtime/globals.h
index 4d33196..3104229 100644
--- a/runtime/globals.h
+++ b/runtime/globals.h
@@ -64,6 +64,12 @@ static constexpr bool kUsePortableCompiler = true;
static constexpr bool kUsePortableCompiler = false;
#endif
+#if defined(ART_USE_OPTIMIZING_COMPILER)
+static constexpr bool kUseOptimizingCompiler = true;
+#else
+static constexpr bool kUseOptimizingCompiler = false;
+#endif
+
// Garbage collector constants.
static constexpr bool kMovingCollector = true && !kUsePortableCompiler;
static constexpr bool kMarkCompactSupport = false && kMovingCollector;