commit | f4955a1a2eb1c06aafc9e314b221c448d15623d9 | [log] [tgz] |
---|---|---|
author | Dan Bornstein <danfuzz@android.com> | Wed Mar 16 18:00:19 2011 -0700 |
committer | Dan Bornstein <danfuzz@android.com> | Mon Mar 21 13:32:57 2011 -0700 |
tree | 7142af32af9b5d92531cea4db2dbc770bc83a1d3 | |
parent | 4153c081e8560d701785ecfe386be33818aec2de [diff] |
Add opcode-emission backward compatibility. This makes it so that when you pass dx --target-api=N, where N is an API level representing Honeycomb or earlier, dx will not emit any of the new extended opcodes. N is currently baked into the code as 12 or larger being post-Honeycomb, but it is subject to change if there are more revs of the API under the Honeycomb umbrella (which wouldn't be surprising). Bug: 4094709 Change-Id: Iaf5177f179b22586bcf806ecb53de20b6e989777