summaryrefslogtreecommitdiffstats
path: root/vm/compiler/codegen/arm
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2011-05-25 13:15:47 -0700
committerDan Bornstein <danfuzz@android.com>2011-05-25 16:23:03 -0700
commit9fdbd91288a237eb58e18e4de9c729c3c268c318 (patch)
tree3dd76752feac32b74906a8b59f0cc974e3db168d /vm/compiler/codegen/arm
parent43e796a261bec308b44e9e5a627820845812202c (diff)
downloadandroid_dalvik-9fdbd91288a237eb58e18e4de9c729c3c268c318.tar.gz
android_dalvik-9fdbd91288a237eb58e18e4de9c729c3c268c318.tar.bz2
android_dalvik-9fdbd91288a237eb58e18e4de9c729c3c268c318.zip
Update dex file magic number.
Even though the dex format was technically resilient with respect to the addition of new opcodes, consensus is that the errors one sees when trying to use a new dex file on an old build were sufficiently inscrutable that it was worth the effort to update the version number embedded in the dex format magic. This change updates dx to produce the new version number when extended opcodes are enabled (which is the default, but may be overridden by targeting an older API level). This also updates the vm to recognize and accept both the new current version number as well as the immediately previous one. Note: It won't reject an old-version file if it happens to use the new opcodes; that would just be a gratuitous and pointless failure. Bug: 4364986 Change-Id: If8febbb0b91c1719df4247bf69c511251362d91f
Diffstat (limited to 'vm/compiler/codegen/arm')
0 files changed, 0 insertions, 0 deletions