766a678339e615d7e0b3935111392b7eef50df24 |
|
21-Sep-2017 |
Orion Hodson <oth@google.com> |
New bytecodes for constant-method-{handle,type} Adds new bytecodes with const-method-handle and const-method-type for loading constant method handles and method types. Both bytecodes use format 21c. Updates dexdump and libdex to include new bytecodes. Increases the DEX file version to 039 and API level to 27 for DEX files using these new bytecodes. Bug: 66562179 Test: dx/tests/run-test 142 Test: dx/tests/run-all-tests Change-Id: If349a1e026b2ab604560d200e3c6424378958491
|
fa5e510d770070f8e7f47d126f5be138aa55cb84 |
|
14-Feb-2017 |
Orion Hodson <oth@google.com> |
Add support invoke-custom to dexdump o Update bytecode.txt with codepoints for invoke-custom instructions and run opcode-gen/regen-all. o Update dexdump to support invoke-custom with output equivalent to dexdump2. Bug: 30550796,33191717,33231751 Test: manually tested with DEX files generated from ART run-tests. Change-Id: If2cedea21875e93525c4850005d335901897484a
|
ab9e85c38ce771b506b90ee81586c594c7c5ac4e |
|
01-Feb-2017 |
Orion Hodson <oth@google.com> |
Add support invoke-polymorphic to dexdump o Update bytecode.txt with codepoints for invoke-polymorphic instructions and run opcode-gen/regen-all. o Update dexdump to support invoke-polymorphic with output equivalent to dexdump2. o Add format classes to dexgen and dx. Bug: 30550796 Test: manually tested with DEX files generated from ART run-tests. Change-Id: I986a896747d73e11418ba1876cce86087b4a9e68
|
f67b6afce08a6b9b5daf7d4d69e132fda07bc78f |
|
02-Feb-2011 |
Dan Bornstein <danfuzz@android.com> |
CodeReader visitor dispatch now uses OpcodeInfo. This gets rid of the per-opcode Instruction array and just does a simple switch. If it turns out that the switch has poor performance, we can push the visitor abstraction down into IndexType. The big change to OpcodeInfo is to make every Info instance always have a non-null IndexType, exactly so it could be reliably switch()ed on without having to do an explicit null check. Change-Id: Iee8289f8766ce41c5043eec7212b2133ec71e682
|
3c5df37a2df7368eb274eb097e9cfa2ccc7fffb6 |
|
26-Jan-2011 |
Dan Bornstein <danfuzz@android.com> |
Basic facility to read/write bytecode. These classes are meant for reading and writing bytecode at the lowest possible level, in particular without layering any interpretation of the instructions beyond understanding the instruction formats. (For example, constant indices remain numbers and aren't tied to objects representing constants.) This patch represents a work-in-progress that compiles but is as yet not hooked up to anything else. Hooking it all up will happen in one or more follow-on patches. Change-Id: Ifd3b3ff0925dc9dc3d82e507dc1be83cb560031d
|