diff options
author | Mathieu Chartier <mathieuc@google.com> | 2013-11-12 17:03:02 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2013-11-12 17:03:02 -0800 |
commit | 46bc778f1feed02b20d25e3d03470c93ca2c0506 (patch) | |
tree | ac760c321039cd8a5e78ae766accf4dc3ddb194b /runtime/globals.h | |
parent | 0b74e3acc2fd35d95ac55c4ee2ffe5c651229ed8 (diff) | |
download | art-46bc778f1feed02b20d25e3d03470c93ca2c0506.tar.gz art-46bc778f1feed02b20d25e3d03470c93ca2c0506.tar.bz2 art-46bc778f1feed02b20d25e3d03470c93ca2c0506.zip |
Fix portable + mips build.
Change-Id: Ia200e582b04c84973281e12331777351feb8a401
Diffstat (limited to 'runtime/globals.h')
-rw-r--r-- | runtime/globals.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/globals.h b/runtime/globals.h index 10426b0fe2..1a25dfa4dd 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. |