commit | db4d54081f09abcbe97ffdf615874f2809a9e777 | [log] [tgz] |
---|---|---|
author | Brian Carlstrom <bdc@google.com> | Tue Aug 09 12:18:28 2011 -0700 |
committer | Brian Carlstrom <bdc@google.com> | Mon Aug 15 10:03:22 2011 -0700 |
tree | 86d4b6cdbfda6538ebf3fbb2f362209eb6867ce5 | |
parent | 350dad1bb785281d6740633f219a2832feda6ff3 [diff] [blame] |
First pass of ImageWriter Change-Id: I4f189587a2e3cc1c265200b8fa64321b299947eb
diff --git a/src/utils.h b/src/utils.h index ddecef9..842db63 100644 --- a/src/utils.h +++ b/src/utils.h
@@ -4,6 +4,7 @@ #define ART_SRC_UTILS_H_ #include "globals.h" +#include "logging.h" #include "stringprintf.h" namespace art { @@ -96,6 +97,8 @@ return static_cast<int>(x & 0x0000003F); } +#define CLZ(x) __builtin_clz(x) + static inline bool NeedsEscaping(uint16_t ch) { return (ch < ' ' || ch > '~'); }