hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeWideable.java
changeset 10251 71b8938a2821
parent 5547 f4b087cbb361
equal deleted inserted replaced
10250:0794cd144834 10251:71b8938a2821
    36     return (prevBci > -1 && method.getBytecodeOrBPAt(prevBci) == Bytecodes._wide);
    36     return (prevBci > -1 && method.getBytecodeOrBPAt(prevBci) == Bytecodes._wide);
    37   }
    37   }
    38 
    38 
    39   // the local variable index
    39   // the local variable index
    40   public int getLocalVarIndex() {
    40   public int getLocalVarIndex() {
    41     return (isWide()) ? (int) (0xFFFF & javaShortAt(1))
    41     return (isWide()) ? getIndexU2(code(), true) : getIndexU1();
    42             : (int) (0xFF & javaByteAt(1));
       
    43   }
    42   }
    44 }
    43 }