mirror of
https://github.com/revanced/smali.git
synced 2025-06-12 12:17:37 +02:00
Write the debug info offset, not index
git-svn-id: https://smali.googlecode.com/svn/trunk@399 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
@ -244,7 +244,7 @@ public class CodeItem extends Item<CodeItem> {
|
||||
if (debugInfo == null) {
|
||||
out.writeInt(0);
|
||||
} else {
|
||||
out.writeInt(debugInfo.getIndex());
|
||||
out.writeInt(debugInfo.getOffset());
|
||||
}
|
||||
out.writeInt(encodedInstructions.length / 2);
|
||||
InstructionWriter.writeInstructions(encodedInstructions, referencedItems, out);
|
||||
|
Reference in New Issue
Block a user