diff options
author | Eric Holk <eholk@google.com> | 2018-11-09 13:48:59 -0800 |
---|---|---|
committer | Eric Holk <eholk@google.com> | 2018-11-15 17:44:03 +0000 |
commit | 1c0f3f099cf6420af16a9ab29f3bdf6721ac78a3 (patch) | |
tree | fdbb0b490b40357607fc5673633c221669286a12 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2583def750214a34b674d128bc1763f742015dba (diff) |
[view_compiler] cleanup: Use format-specific bytecode encoding functions
This change corrals most of the bit shifting and ORing needed to encode Dex
instructions into EncodeXXX functions that follow the naming scheme at
https://source.android.com/devices/tech/dalvik/instruction-formats. Overall, it
makes the code easier to follow and probably even less error prone because we
only have to make the format right in one place.
Bug: 111895153
Change-Id: I902ec3c8bca6b5dc4ad900503af7aef58d4bbf5f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions