summaryrefslogtreecommitdiff
path: root/runtime/base/macros.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2017-12-11 13:34:29 -0800
committer Mathieu Chartier <mathieuc@google.com> 2017-12-11 17:54:15 -0800
commita7f6b8151ee8b8c16a11e148fea1c02ca33dc211 (patch)
treef82167347158bd46e67cf0980af7131f2c7e5453 /runtime/base/macros.h
parent078f96f743805d951cea8f71af768facd17eba78 (diff)
Add ART_DEFAULT_COMPACT_DEX_LEVEL
If specified, this option changes the default compact dex level used by dex2oat. Defaults to none currently. Bug: 63756964 Test: ART_DEFAULT_COMPACT_DEX_LEVEL=fast mm test-art-host-gtest and verify it fails for now. Test: test/testrunner/testrunner.py --host -j64 and verify it passes Change-Id: Ib252f432b3545297725656a5cca40d1bb57b0ced
Diffstat (limited to 'runtime/base/macros.h')
-rw-r--r--runtime/base/macros.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/base/macros.h b/runtime/base/macros.h
index 6cd7d60253..512e5ce651 100644
--- a/runtime/base/macros.h
+++ b/runtime/base/macros.h
@@ -59,6 +59,10 @@ template<typename T> ART_FRIEND_TEST(test_set_name, individual_test)
#define QUOTE(x) #x
#define STRINGIFY(x) QUOTE(x)
+// Append tokens after evaluating.
+#define APPEND_TOKENS_AFTER_EVAL_2(a, b) a ## b
+#define APPEND_TOKENS_AFTER_EVAL(a, b) APPEND_TOKENS_AFTER_EVAL_2(a, b)
+
#ifndef NDEBUG
#define ALWAYS_INLINE
#else