diff src/share/vm/ci/ciMethod.hpp @ 12160:f98f5d48f511

7199175: JSR 292: C1 needs patching when invokedynamic/invokehandle call site is not linked Summary: Do patching rather bailing out for unlinked call with appendix Reviewed-by: twisti, kvn
author roland
date Wed, 21 Aug 2013 13:34:45 +0200
parents 6f3fd5150b67
children c775af091fe9
line wrap: on
line diff
--- a/src/share/vm/ci/ciMethod.hpp	Fri Aug 23 18:04:35 2013 -0700
+++ b/src/share/vm/ci/ciMethod.hpp	Wed Aug 21 13:34:45 2013 +0200
@@ -177,6 +177,10 @@
     address bcp = code() + bci;
     return Bytecodes::java_code_at(NULL, bcp);
   }
+  Bytecodes::Code raw_code_at_bci(int bci) {
+    address bcp = code() + bci;
+    return Bytecodes::code_at(NULL, bcp);
+  }
   BCEscapeAnalyzer  *get_bcea();
   ciMethodBlocks    *get_method_blocks();