summaryrefslogtreecommitdiffstats
path: root/runtime/base
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2013-08-09 22:05:32 -0700
committerIan Rogers <irogers@google.com>2013-08-09 22:23:50 -0700
commit1809a72a66d245ae598582d658b93a24ac3bf01e (patch)
treef864ff869185b2873637ca70584c66fd6a1e899d /runtime/base
parenta9a50926963b5093fb851ed966d201f3e95f72d3 (diff)
downloadart-1809a72a66d245ae598582d658b93a24ac3bf01e.zip
art-1809a72a66d245ae598582d658b93a24ac3bf01e.tar.gz
art-1809a72a66d245ae598582d658b93a24ac3bf01e.tar.bz2
Uleb128 compression of vmap and mapping table.
Bug 9437697. Change-Id: I30bcb97d12cd8b46d3b2cdcbdd358f08fbb9947a
Diffstat (limited to 'runtime/base')
-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) ({ \