summaryrefslogtreecommitdiffstats
path: root/runtime/base/macros.h
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2013-08-09 22:05:32 -0700
committerIan Rogers <irogers@google.com>2013-08-12 06:16:03 +0000
commit96faf5b363d922ae91cf25404dee0e87c740c7c5 (patch)
treed397fd63cde72e897490e21b3af3c355db7a36d4 /runtime/base/macros.h
parent49bded21270e8087e11d933d7b19aee22c0d8649 (diff)
downloadart-96faf5b363d922ae91cf25404dee0e87c740c7c5.zip
art-96faf5b363d922ae91cf25404dee0e87c740c7c5.tar.gz
art-96faf5b363d922ae91cf25404dee0e87c740c7c5.tar.bz2
Uleb128 compression of vmap and mapping table.
Bug 9437697. Change-Id: I30bcb97d12cd8b46d3b2cdcbdd358f08fbb9947a (cherry picked from commit 1809a72a66d245ae598582d658b93a24ac3bf01e)
Diffstat (limited to 'runtime/base/macros.h')
-rw-r--r--runtime/base/macros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/base/macros.h b/runtime/base/macros.h
index 879c10c..6531858 100644
--- a/runtime/base/macros.h
+++ b/runtime/base/macros.h
@@ -142,6 +142,8 @@ char (&ArraySizeHelper(T (&array)[N]))[N];
#define HOT_ATTR __attribute__ ((hot))
#endif
+#define PURE __attribute__ ((__pure__))
+
// bionic and glibc both have TEMP_FAILURE_RETRY, but Mac OS' libc doesn't.
#ifndef TEMP_FAILURE_RETRY
#define TEMP_FAILURE_RETRY(exp) ({ \