aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/LocalOptimizations.c
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2010-12-01 17:02:26 -0800
committerDan Bornstein <danfuzz@android.com>2010-12-01 17:02:26 -0800
commit9a1f81699cc05b58378ffb9aadb4e97677943791 (patch)
treedc005d72c75a4e81a6a75ae4dd32370655ad0488 /vm/compiler/codegen/arm/LocalOptimizations.c
parent5befcb64d815614a855199e19a0236ec3a01091c (diff)
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/LocalOptimizations.c')
-rw-r--r--vm/compiler/codegen/arm/LocalOptimizations.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vm/compiler/codegen/arm/LocalOptimizations.c b/vm/compiler/codegen/arm/LocalOptimizations.c
index 724fdb7ad..33e1e4188 100644
--- a/vm/compiler/codegen/arm/LocalOptimizations.c
+++ b/vm/compiler/codegen/arm/LocalOptimizations.c
@@ -165,7 +165,7 @@ static void applyLoadStoreElimination(CompilationUnit *cUnit,
/*
* Saw a real instruction that the store can be sunk after
*/
- if (!isPseudoOpCode(checkLIR->opCode)) {
+ if (!isPseudoOpcode(checkLIR->opcode)) {
sinkDistance++;
}
}
@@ -196,7 +196,7 @@ static void applyLoadHoisting(CompilationUnit *cUnit,
continue;
}
- if (firstLoad && (EncodingMap[thisLIR->opCode].flags & IS_LOAD)) {
+ if (firstLoad && (EncodingMap[thisLIR->opcode].flags & IS_LOAD)) {
/*
* Ensure nothing will be hoisted in front of this load because
* it's result will likely be needed soon.
@@ -388,7 +388,7 @@ static void applyLoadHoisting(CompilationUnit *cUnit,
* Saw a real instruction that hosting the load is
* beneficial
*/
- if (!isPseudoOpCode(checkLIR->opCode)) {
+ if (!isPseudoOpcode(checkLIR->opcode)) {
hoistDistance++;
}
}
@@ -491,7 +491,7 @@ static void applyLoadHoisting(CompilationUnit *cUnit,
* Saw a real instruction that hosting the load is
* beneficial
*/
- if (!isPseudoOpCode(checkLIR->opCode)) {
+ if (!isPseudoOpcode(checkLIR->opcode)) {
hoistDistance++;
}
}