hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeWideable.java
equal
deleted
inserted
replaced
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 } |