Mercurial > hg > graal-compiler
diff agent/src/share/classes/sun/jvm/hotspot/oops/Method.java @ 3838:6a991dcb52bb
7012081: JSR 292: SA-JDI can't read MH/MT/Indy ConstantPool entries
Reviewed-by: kvn, twisti, jrose
author | never |
---|---|
date | Thu, 21 Jul 2011 08:38:25 -0700 |
parents | 1d1603768966 |
children | f6f3bb0ee072 |
line wrap: on
line diff
--- a/agent/src/share/classes/sun/jvm/hotspot/oops/Method.java Wed Jul 20 18:04:17 2011 -0700 +++ b/agent/src/share/classes/sun/jvm/hotspot/oops/Method.java Thu Jul 21 08:38:25 2011 -0700 @@ -180,12 +180,24 @@ return getConstMethod().getBytecodeShortArg(bci); } + /** Fetches a 16-bit native ordered value from the + bytecode stream */ + public short getNativeShortArg(int bci) { + return getConstMethod().getNativeShortArg(bci); + } + /** Fetches a 32-bit big-endian ("Java ordered") value from the bytecode stream */ public int getBytecodeIntArg(int bci) { return getConstMethod().getBytecodeIntArg(bci); } + /** Fetches a 32-bit native ordered value from the + bytecode stream */ + public int getNativeIntArg(int bci) { + return getConstMethod().getNativeIntArg(bci); + } + public byte[] getByteCode() { return getConstMethod().getByteCode(); }