hotspot/agent/src/share/classes/sun/jvm/hotspot/code/DebugInfoReadStream.java
changeset 3686 69c1b5228547
parent 3603 2d6d87c8705f
child 5547 f4b087cbb361
--- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/code/DebugInfoReadStream.java	Wed Aug 19 19:05:18 2009 -0700
+++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/code/DebugInfoReadStream.java	Thu Aug 20 12:42:57 2009 -0700
@@ -81,4 +81,8 @@
     Assert.that(false, "should not reach here");
     return null;
   }
+
+  public int readBCI() {
+    return readInt() + InvocationEntryBCI;
+  }
 }