summaryrefslogtreecommitdiffstats
path: root/opcode-gen
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2010-12-01 14:23:44 -0800
committerDan Bornstein <danfuzz@android.com>2010-12-01 15:52:34 -0800
commitdf4daaf8f41e3dcaa8221f54273338160dd43138 (patch)
tree043aea8d14f2fa7a82aad0479c02e6d2f6d5848d /opcode-gen
parent111221644c5b7b1d4f426d02786aeebf1addc8f6 (diff)
downloadandroid_dalvik-df4daaf8f41e3dcaa8221f54273338160dd43138.tar.gz
android_dalvik-df4daaf8f41e3dcaa8221f54273338160dd43138.tar.bz2
android_dalvik-df4daaf8f41e3dcaa8221f54273338160dd43138.zip
Rename OpCode.h -> DexOpcodes.h.
Also incorporate the former contents of OpCodeNames.h. This is a small attempt to increase naming consistency in libdex. There will be a bit more to come, in a follow-up. Change-Id: Ia7ab06042dde2e19eda02ef1fee72fb4260e899d
Diffstat (limited to 'opcode-gen')
-rwxr-xr-xopcode-gen/opcode-gen2
-rwxr-xr-xopcode-gen/regen-all2
2 files changed, 2 insertions, 2 deletions
diff --git a/opcode-gen/opcode-gen b/opcode-gen/opcode-gen
index 64011ce83..36f266117 100755
--- a/opcode-gen/opcode-gen
+++ b/opcode-gen/opcode-gen
@@ -483,7 +483,7 @@ function flagsToC(f, parts, result, i) {
# Given a packed opcode, returns the raw (unpacked) opcode value.
function unpackOpcode(idx) {
# Note: This must be the inverse of the corresponding code in
- # libdex/OpCode.h.
+ # libdex/DexOpcodes.h.
if (idx <= 0xff) {
return idx;
} else {
diff --git a/opcode-gen/regen-all b/opcode-gen/regen-all
index fbf8359e7..1e77b5d5f 100755
--- a/opcode-gen/regen-all
+++ b/opcode-gen/regen-all
@@ -37,8 +37,8 @@ cd ".."
${progdir}/opcode-gen dx/src/com/android/dx/dex/code/DalvOps.java
${progdir}/opcode-gen dx/src/com/android/dx/dex/code/Dops.java
${progdir}/opcode-gen dx/src/com/android/dx/dex/code/RopToDop.java
+${progdir}/opcode-gen libdex/DexOpcodes.h
${progdir}/opcode-gen libdex/InstrUtils.c
-${progdir}/opcode-gen libdex/OpCode.h
${progdir}/opcode-gen libdex/OpCodeNames.c
# It's a minor shame that these files live in a different top-level project.