Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b96f5891 authored by Dan Bornstein's avatar Dan Bornstein
Browse files

Propagate the concept of "packed opcode" values.

Dalvik now exposes a distinction between "packed" and regular opcode
values. The packed values are more densely defined in the range 0-0x1ff,
whereas the regular values are sparsely defined across the range 0-0xffff.

The only current use for packed values at this level is in opcode
usage reporting, but their use may expand over time.

Change-Id: Ie783b90cb2dcb9df8f3eb19a7c708a53906fdbe4
parent 03b758ef
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -866,7 +866,8 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo
     * </pre>
     */
    public static class InstructionCount {
        private static final int NUM_INSTR = OpcodeInfo.MAXIMUM_VALUE + 1;
        private static final int NUM_INSTR =
            OpcodeInfo.MAXIMUM_PACKED_VALUE + 1;

        private int[] mCounts;