[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
diff --git a/src/compiler/Compiler.h b/src/compiler/Compiler.h
index db7f2ba..2f95be2 100644
--- a/src/compiler/Compiler.h
+++ b/src/compiler/Compiler.h
@@ -42,102 +42,102 @@
 
 /* Suppress optimization if corresponding bit set */
 enum optControlVector {
-    kLoadStoreElimination = 0,
-    kLoadHoisting,
-    kSuppressLoads,
-    kNullCheckElimination,
-    kPromoteRegs,
-    kTrackLiveTemps,
-    kSkipLargeMethodOptimization,
-    kSafeOptimizations,
-    kBBOpt,
-    kMatch,
-    kPromoteCompilerTemps,
+  kLoadStoreElimination = 0,
+  kLoadHoisting,
+  kSuppressLoads,
+  kNullCheckElimination,
+  kPromoteRegs,
+  kTrackLiveTemps,
+  kSkipLargeMethodOptimization,
+  kSafeOptimizations,
+  kBBOpt,
+  kMatch,
+  kPromoteCompilerTemps,
 };
 
 /* Type of allocation for memory tuning */
 enum oatAllocKind {
-    kAllocMisc,
-    kAllocBB,
-    kAllocLIR,
-    kAllocMIR,
-    kAllocDFInfo,
-    kAllocGrowableList,
-    kAllocGrowableBitMap,
-    kAllocDalvikToSSAMap,
-    kAllocDebugInfo,
-    kAllocSuccessor,
-    kAllocRegAlloc,
-    kAllocData,
-    kAllocPredecessors,
-    kNumAllocKinds
+  kAllocMisc,
+  kAllocBB,
+  kAllocLIR,
+  kAllocMIR,
+  kAllocDFInfo,
+  kAllocGrowableList,
+  kAllocGrowableBitMap,
+  kAllocDalvikToSSAMap,
+  kAllocDebugInfo,
+  kAllocSuccessor,
+  kAllocRegAlloc,
+  kAllocData,
+  kAllocPredecessors,
+  kNumAllocKinds
 };
 
 /* Type of growable list for memory tuning */
 enum oatListKind {
-    kListMisc = 0,
-    kListBlockList,
-    kListSSAtoDalvikMap,
-    kListDfsOrder,
-    kListDfsPostOrder,
-    kListDomPostOrderTraversal,
-    kListThrowLaunchPads,
-    kListSuspendLaunchPads,
-    kListSwitchTables,
-    kListFillArrayData,
-    kListSuccessorBlocks,
-    kListPredecessors,
-    kNumListKinds
+  kListMisc = 0,
+  kListBlockList,
+  kListSSAtoDalvikMap,
+  kListDfsOrder,
+  kListDfsPostOrder,
+  kListDomPostOrderTraversal,
+  kListThrowLaunchPads,
+  kListSuspendLaunchPads,
+  kListSwitchTables,
+  kListFillArrayData,
+  kListSuccessorBlocks,
+  kListPredecessors,
+  kNumListKinds
 };
 
 /* Type of growable bitmap for memory tuning */
 enum oatBitMapKind {
-    kBitMapMisc = 0,
-    kBitMapUse,
-    kBitMapDef,
-    kBitMapLiveIn,
-    kBitMapBMatrix,
-    kBitMapDominators,
-    kBitMapIDominated,
-    kBitMapDomFrontier,
-    kBitMapPhi,
-    kBitMapTmpBlocks,
-    kBitMapInputBlocks,
-    kBitMapRegisterV,
-    kBitMapTempSSARegisterV,
-    kBitMapNullCheck,
-    kBitMapTmpBlockV,
-    kBitMapPredecessors,
-    kNumBitMapKinds
+  kBitMapMisc = 0,
+  kBitMapUse,
+  kBitMapDef,
+  kBitMapLiveIn,
+  kBitMapBMatrix,
+  kBitMapDominators,
+  kBitMapIDominated,
+  kBitMapDomFrontier,
+  kBitMapPhi,
+  kBitMapTmpBlocks,
+  kBitMapInputBlocks,
+  kBitMapRegisterV,
+  kBitMapTempSSARegisterV,
+  kBitMapNullCheck,
+  kBitMapTmpBlockV,
+  kBitMapPredecessors,
+  kNumBitMapKinds
 };
 
 /* Force code generation paths for testing */
 enum debugControlVector {
-    kDebugDisplayMissingTargets,
-    kDebugVerbose,
-    kDebugDumpCFG,
-    kDebugSlowFieldPath,
-    kDebugSlowInvokePath,
-    kDebugSlowStringPath,
-    kDebugSlowTypePath,
-    kDebugSlowestFieldPath,
-    kDebugSlowestStringPath,
-    kDebugExerciseResolveMethod,
-    kDebugVerifyDataflow,
-    kDebugShowMemoryUsage,
-    kDebugShowNops,
-    kDebugCountOpcodes,
+  kDebugDisplayMissingTargets,
+  kDebugVerbose,
+  kDebugDumpCFG,
+  kDebugSlowFieldPath,
+  kDebugSlowInvokePath,
+  kDebugSlowStringPath,
+  kDebugSlowTypePath,
+  kDebugSlowestFieldPath,
+  kDebugSlowestStringPath,
+  kDebugExerciseResolveMethod,
+  kDebugVerifyDataflow,
+  kDebugShowMemoryUsage,
+  kDebugShowNops,
+  kDebugCountOpcodes,
 };
 
 enum OatMethodAttributes {
-    kIsCallee = 0,      /* Code is part of a callee (invoked by a hot trace) */
-    kIsHot,             /* Code is part of a hot trace */
-    kIsLeaf,            /* Method is leaf */
-    kIsEmpty,           /* Method is empty */
-    kIsThrowFree,       /* Method doesn't throw */
-    kIsGetter,          /* Method fits the getter pattern */
-    kIsSetter,          /* Method fits the setter pattern */
-    kCannotCompile,     /* Method cannot be compiled */
+  kIsCallee = 0,      /* Code is part of a callee (invoked by a hot trace) */
+  kIsHot,             /* Code is part of a hot trace */
+  kIsLeaf,            /* Method is leaf */
+  kIsEmpty,           /* Method is empty */
+  kIsThrowFree,       /* Method doesn't throw */
+  kIsGetter,          /* Method fits the getter pattern */
+  kIsSetter,          /* Method fits the setter pattern */
+  kCannotCompile,     /* Method cannot be compiled */
 };
 
 #define METHOD_IS_CALLEE        (1 << kIsCallee)
@@ -151,12 +151,12 @@
 
 /* Customized node traversal orders for different needs */
 enum DataFlowAnalysisMode {
-    kAllNodes = 0,              // All nodes
-    kReachableNodes,            // All reachable nodes
-    kPreOrderDFSTraversal,      // Depth-First-Search / Pre-Order
-    kPostOrderDFSTraversal,     // Depth-First-Search / Post-Order
-    kPostOrderDOMTraversal,     // Dominator tree / Post-Order
-    kReversePostOrderTraversal, // Depth-First-Search / reverse Post-Order
+  kAllNodes = 0,              // All nodes
+  kReachableNodes,            // All reachable nodes
+  kPreOrderDFSTraversal,      // Depth-First-Search / Pre-Order
+  kPostOrderDFSTraversal,     // Depth-First-Search / Post-Order
+  kPostOrderDOMTraversal,     // Dominator tree / Post-Order
+  kReversePostOrderTraversal, // Depth-First-Search / reverse Post-Order
 };
 
 struct CompilationUnit;
@@ -184,9 +184,9 @@
 char* oatFullDisassembler(CompilationUnit* cUnit, const MIR* mir);
 char* oatGetSSAString(CompilationUnit* cUnit, SSARepresentation* ssaRep);
 void oatDataFlowAnalysisDispatcher(CompilationUnit* cUnit,
-                bool (*func)(CompilationUnit* , BasicBlock*),
-                DataFlowAnalysisMode dfaMode,
-                bool isIterative);
+                                   bool (*func)(CompilationUnit* , BasicBlock*),
+                                   DataFlowAnalysisMode dfaMode,
+                                   bool isIterative);
 void oatMethodSSATransformation(CompilationUnit* cUnit);
 u8 oatGetRegResourceMask(int reg);
 void oatDumpCFG(CompilationUnit* cUnit, const char* dirPrefix);