[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
Loading
Please register or sign in to comment