summaryrefslogtreecommitdiffstats
path: root/vm/compiler/codegen/x86
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/x86
parent5befcb64d815614a855199e19a0236ec3a01091c (diff)
downloadandroid_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/x86')
-rw-r--r--vm/compiler/codegen/x86/X86LIR.h2
-rw-r--r--vm/compiler/codegen/x86/ia32/ArchVariant.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/vm/compiler/codegen/x86/X86LIR.h b/vm/compiler/codegen/x86/X86LIR.h
index 969c37194..62ac44733 100644
--- a/vm/compiler/codegen/x86/X86LIR.h
+++ b/vm/compiler/codegen/x86/X86LIR.h
@@ -134,7 +134,7 @@ typedef enum OpKind {
typedef struct X86LIR {
LIR generic;
- //X86OpCode opCode;
+ //X86Opcode opcode;
int operands[4]; // [0..3] = [dest, src1, src2, extra]
bool isNop; // LIR is optimized away
bool branchInsertSV;// mark for insertion of branch before this instruction,
diff --git a/vm/compiler/codegen/x86/ia32/ArchVariant.h b/vm/compiler/codegen/x86/ia32/ArchVariant.h
index ac4293f0f..e4eebf3b4 100644
--- a/vm/compiler/codegen/x86/ia32/ArchVariant.h
+++ b/vm/compiler/codegen/x86/ia32/ArchVariant.h
@@ -28,7 +28,7 @@ typedef enum {
* ...
*/
TEMPLATE_LAST_MARK,
-} TemplateOpCode;
+} TemplateOpcode;
#undef JIT_TEMPLATE
#endif /* _DALVIK_VM_COMPILER_CODEGEN_X86_IA32_ARCHVARIANT_H */