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

Commit 9f315541 authored by Dan Bornstein's avatar Dan Bornstein
Browse files

Dalvik opcode-related fixes.

This makes Debug not hard code the number of opcodes and includes an
api-update of other opcode-related changes done in dalvik.system.

Change-Id: I70d22e1c710f224d75a22e319916724aea53f78d
parent 3f89edc8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ import org.apache.harmony.dalvik.ddmc.Chunk;
import org.apache.harmony.dalvik.ddmc.ChunkHandler;
import org.apache.harmony.dalvik.ddmc.DdmServer;

import dalvik.bytecode.OpcodeInfo;
import dalvik.bytecode.Opcodes;
import dalvik.system.VMDebug;

@@ -865,7 +866,7 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo
     * </pre>
     */
    public static class InstructionCount {
        private static final int NUM_INSTR = 256;
        private static final int NUM_INSTR = OpcodeInfo.MAXIMUM_VALUE + 1;

        private int[] mCounts;