diff src/share/vm/oops/methodOop.hpp @ 1793:d257356e35f0

6939224: MethodHandle.invokeGeneric needs to perform the correct set of conversions Reviewed-by: never
author jrose
date Mon, 13 Sep 2010 23:24:30 -0700
parents d5d065957597
children a4c7fe54bf3f
line wrap: on
line diff
--- a/src/share/vm/oops/methodOop.hpp	Mon Sep 13 16:45:00 2010 -0700
+++ b/src/share/vm/oops/methodOop.hpp	Mon Sep 13 23:24:30 2010 -0700
@@ -516,6 +516,8 @@
   static int method_data_offset_in_bytes()       { return offset_of(methodOopDesc, _method_data); }
   static int interpreter_invocation_counter_offset_in_bytes()
                                                  { return offset_of(methodOopDesc, _interpreter_invocation_count); }
+  static int intrinsic_id_offset_in_bytes()      { return offset_of(methodOopDesc, _intrinsic_id); }
+  static int intrinsic_id_size_in_bytes()        { return sizeof(u1); }
 
   // Static methods that are used to implement member methods where an exposed this pointer
   // is needed due to possible GCs