History log of /art/runtime/dex_instruction_test.cc
Revision Date Author Comments
673d1fb3a9db020cdebc6a05f9b53fc43ad524ed 15-Aug-2016 Narayan Kamath <narayan@google.com> dex_instruction: k45cc HasVarArgs

Change-Id: I3be92269bb78c96ec41ab533c5792bd369c02178
Test: make test-art-host
bug: 30550796
8ec3bd2b31ccbc9027b8e9b1949dd1804bb6d30f 03-Aug-2016 Narayan Kamath <narayan@google.com> Instruction: Add new formats 45cc and 4rcc.

These are new 4 byte formats with the following properties.

- The first three (16 bit) words of these instructions have the same
format as 35c and 3rc respectively.
- The fourth 16 bit word encodes an additional constant index reference.

This change includes placeholder opcodes for invoke-polymorphic and
invoke-polymorphic/range which will be the first dex instructions that
use this new format. In addition to a method_idx that gives the invoked
method, these instructions also provide a proto_idx which gives the
(static) type signature of the call site.

The only reason these are included in this change is because we need
an instruction with a given format to write a unit_test using the Instruction
API.

bug: 30550796
test: make test-art-host

Change-Id: I02612ddee47169757175a8079d82f811f6545945
b1f3753d890e17b7b0d4e2779e8dfd8aa5bf0e2d 29-Jun-2015 Aart Bik <ajcbik@google.com> Added index type of dex byte instructions.

Rationale:
The information was already in the instruction_list but not
exposed as enum through a getter. This CL adds that ability.
This information is needed by the upcoming Art-based dexdump.

NOTE:
Added "Index" to the enum constants naming convention.

NOTE:
Fixed few incorrect quickened entries in instruction_list.

Bug: 17442393

Change-Id: Ica18ae43135f78f29e9832f5a101d497e54724cf