Quick Compiler: Shoot the Camel
Another step towards moving the Quick Compiler from the old
Dalvik coding style to Art's coding style. In this CL, Camel-case
locals, struct variables and arguments are converted to lower-case
with underscore names. Most of the name changes were formulistic,
but I also took this opportunity to change the old "printMe" into
the more traditional "verbose", and shorten cUnit to cu.
No logic changes.
Change-Id: I64b69b28a8357d5cc0abc1dc975954c91abd9b45
diff --git a/src/compiler/frontend.h b/src/compiler/frontend.h
index 1898b9b..f7e76f8 100644
--- a/src/compiler/frontend.h
+++ b/src/compiler/frontend.h
@@ -50,7 +50,7 @@
#define MAX_ASSEMBLER_RETRIES 50
/* Suppress optimization if corresponding bit set */
-enum optControlVector {
+enum opt_control_vector {
kLoadStoreElimination = 0,
kLoadHoisting,
kSuppressLoads,
@@ -136,7 +136,7 @@
struct CompilationUnit;
struct BasicBlock;
-BasicBlock* FindBlock(CompilationUnit* cUnit, unsigned int codeOffset);
+BasicBlock* FindBlock(CompilationUnit* cu, unsigned int code_offset);
void ReplaceSpecialChars(std::string& str);
} // namespace art