diff options
author | Dan Bornstein <danfuzz@android.com> | 2010-12-01 17:02:26 -0800 |
---|---|---|
committer | Dan Bornstein <danfuzz@android.com> | 2010-12-01 17:02:26 -0800 |
commit | 9a1f81699cc05b58378ffb9aadb4e97677943791 (patch) | |
tree | dc005d72c75a4e81a6a75ae4dd32370655ad0488 /vm/compiler/codegen/arm/GlobalOptimizations.c | |
parent | 5befcb64d815614a855199e19a0236ec3a01091c (diff) | |
download | android_dalvik-9a1f81699cc05b58378ffb9aadb4e97677943791.tar.gz android_dalvik-9a1f81699cc05b58378ffb9aadb4e97677943791.tar.bz2 android_dalvik-9a1f81699cc05b58378ffb9aadb4e97677943791.zip |
It's "opcode" not "opCode".
Similarly "Opcode" not "OpCode".
This appears to be the general worldwide consensus on the matter. Other
residents of my office didn't seem to mind one way or the other how it's
spelled in our code, but for whatever reason, it really bugged me.
Change-Id: Ia0b73d19c54aefc0f543a9c9451dda22ee876a59
Diffstat (limited to 'vm/compiler/codegen/arm/GlobalOptimizations.c')
-rw-r--r-- | vm/compiler/codegen/arm/GlobalOptimizations.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/compiler/codegen/arm/GlobalOptimizations.c b/vm/compiler/codegen/arm/GlobalOptimizations.c index 1cfa32b3a..c1e69c3e3 100644 --- a/vm/compiler/codegen/arm/GlobalOptimizations.c +++ b/vm/compiler/codegen/arm/GlobalOptimizations.c @@ -31,7 +31,7 @@ static void applyRedundantBranchElimination(CompilationUnit *cUnit) thisLIR = NEXT_LIR(thisLIR)) { /* Branch to the next instruction */ - if (thisLIR->opCode == kThumbBUncond) { + if (thisLIR->opcode == kThumbBUncond) { ArmLIR *nextLIR = thisLIR; while (true) { @@ -48,7 +48,7 @@ static void applyRedundantBranchElimination(CompilationUnit *cUnit) /* * Found real useful stuff between the branch and the target */ - if (!isPseudoOpCode(nextLIR->opCode)) + if (!isPseudoOpcode(nextLIR->opcode)) break; } } |