diff options
| author | 2012-05-03 15:00:40 -0700 | |
|---|---|---|
| committer | 2012-05-03 18:57:47 -0700 | |
| commit | a114add0300b95eeaae7465493f39144e07324e8 (patch) | |
| tree | 19b119195c00bd4688bb085eadbe142851f75e0e /src/compiler/CompilerUtility.h | |
| parent | 1ecce9487a1b3aac6b656f5704cf86a961ab0481 (diff) | |
[Compiler] use Art indentation standard
First of several CLs to bring code closer to alignment with Art and LLVM
standards. Move to 2-space indenting. Sticking with 80-col line
length (which LLVM apparently also wants). LLVM also prefers camel
case names, so keeping Dalvik convention there as well (for now).
Change-Id: I351ab234e640678d97747377cccdd6df0a770f4a
Diffstat (limited to 'src/compiler/CompilerUtility.h')
| -rw-r--r-- | src/compiler/CompilerUtility.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/compiler/CompilerUtility.h b/src/compiler/CompilerUtility.h index 4a15f265e7..d4316786fc 100644 --- a/src/compiler/CompilerUtility.h +++ b/src/compiler/CompilerUtility.h @@ -31,10 +31,10 @@ bool oatHeapInit(CompilationUnit* cUnit); //#define WITH_MEMSTATS struct ArenaMemBlock { - size_t blockSize; - size_t bytesAllocated; - ArenaMemBlock *next; - char ptr[0]; + size_t blockSize; + size_t bytesAllocated; + ArenaMemBlock *next; + char ptr[0]; }; void* oatNew(CompilationUnit* cUnit, size_t size, bool zero, @@ -55,9 +55,9 @@ struct GrowableList { }; struct GrowableListIterator { - GrowableList* list; - size_t idx; - size_t size; + GrowableList* list; + size_t idx; + size_t size; }; /* @@ -67,19 +67,19 @@ struct GrowableListIterator { * All operations on a BitVector are unsynchronized. */ struct ArenaBitVector { - bool expandable; /* expand bitmap if we run out? */ - u4 storageSize; /* current size, in 32-bit words */ - u4* storage; + bool expandable; /* expand bitmap if we run out? */ + u4 storageSize; /* current size, in 32-bit words */ + u4* storage; #ifdef WITH_MEMSTATS - oatBitMapKind kind; /* for memory use tuning */ + oatBitMapKind kind; /* for memory use tuning */ #endif }; /* Handy iterator to walk through the bit positions set to 1 */ struct ArenaBitVectorIterator { - ArenaBitVector* pBits; - u4 idx; - u4 bitSize; + ArenaBitVector* pBits; + u4 idx; + u4 bitSize; }; #define GET_ELEM_N(LIST, TYPE, N) (((TYPE*) LIST->elemList)[N]) |