59256149f100fd06d7a5bebaa2d29a3f0847ee22 |
|
02-Oct-2016 |
Ben Gruver <bgruv@google.com> |
Add functionality for efficient multi-dex writing with DexPool This adds support to DexPool for mark()/reset(), which can be used to "rollback" the last added class in case it caused a constant pool overflow. This also adds a "DexWriter.hasOverflowed()" helper method to determine if any of the size-constrained pools have overflowed.
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/Markable.java
|