comparison src/share/vm/c1/c1_LIR.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 b800986664f4
children d13d7aba8c12
comparison
equal deleted inserted replaced
12159:b17d8f6d9ed7 12160:f98f5d48f511
1209 1209
1210 // JSR 292 support. 1210 // JSR 292 support.
1211 bool is_invokedynamic() const { return code() == lir_dynamic_call; } 1211 bool is_invokedynamic() const { return code() == lir_dynamic_call; }
1212 bool is_method_handle_invoke() const { 1212 bool is_method_handle_invoke() const {
1213 return 1213 return
1214 is_invokedynamic() // An invokedynamic is always a MethodHandle call site.
1215 ||
1216 method()->is_compiled_lambda_form() // Java-generated adapter 1214 method()->is_compiled_lambda_form() // Java-generated adapter
1217 || 1215 ||
1218 method()->is_method_handle_intrinsic(); // JVM-generated MH intrinsic 1216 method()->is_method_handle_intrinsic(); // JVM-generated MH intrinsic
1219 } 1217 }
1220 1218