summaryrefslogtreecommitdiffstats
path: root/runtime/globals.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2013-11-12 17:03:02 -0800
committerMathieu Chartier <mathieuc@google.com>2013-11-12 17:03:02 -0800
commit46bc778f1feed02b20d25e3d03470c93ca2c0506 (patch)
treeac760c321039cd8a5e78ae766accf4dc3ddb194b /runtime/globals.h
parent0b74e3acc2fd35d95ac55c4ee2ffe5c651229ed8 (diff)
downloadart-46bc778f1feed02b20d25e3d03470c93ca2c0506.zip
art-46bc778f1feed02b20d25e3d03470c93ca2c0506.tar.gz
art-46bc778f1feed02b20d25e3d03470c93ca2c0506.tar.bz2
Fix portable + mips build.
Change-Id: Ia200e582b04c84973281e12331777351feb8a401
Diffstat (limited to 'runtime/globals.h')
-rw-r--r--runtime/globals.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/globals.h b/runtime/globals.h
index 10426b0..1a25dfa 100644
--- a/runtime/globals.h
+++ b/runtime/globals.h
@@ -73,8 +73,14 @@ const bool kIsTargetBuild = true;
const bool kIsTargetBuild = false;
#endif
+#if defined(ART_USE_PORTABLE_COMPILER)
+constexpr bool kUsePortableCompiler = true;
+#else
+constexpr bool kUsePortableCompiler = false;
+#endif
+
// Garbage collector constants.
-static constexpr bool kMovingCollector = false;
+static constexpr bool kMovingCollector = false && !kUsePortableCompiler;
// True if we allow moving classes.
static constexpr bool kMovingClasses = false;
// True if we allow moving fields.