Proper opcode for const-string instruction modification prediction.

This commit is contained in:
Izzat Bahadirov 2013-03-25 11:39:22 -04:00
parent 5df16db108
commit f598b96244

View File

@ -154,7 +154,7 @@ public class InstructionWriteUtil {
offsetToNewInstructionMap = new HashMap<Integer,Format>();
}
codeOffsetShifts.add(currentCodeOffset+instruction.getCodeUnits());
offsetToNewInstructionMap.put(currentCodeOffset, instruction.getOpcode().format);
offsetToNewInstructionMap.put(currentCodeOffset, Opcode.CONST_STRING_JUMBO.format);
}
}
currentCodeOffset += instruction.getCodeUnits();