1.1 --- a/src/share/vm/c1/c1_LIRAssembler.cpp Tue Aug 10 12:15:10 2010 -0700 1.2 +++ b/src/share/vm/c1/c1_LIRAssembler.cpp Wed Aug 11 01:17:27 2010 -0700 1.3 @@ -438,6 +438,12 @@ 1.4 default: ShouldNotReachHere(); 1.5 } 1.6 1.7 + // JSR 292 1.8 + // Record if this method has MethodHandle invokes. 1.9 + if (op->is_method_handle_invoke()) { 1.10 + compilation()->set_has_method_handle_invokes(true); 1.11 + } 1.12 + 1.13 #if defined(X86) && defined(TIERED) 1.14 // C2 leave fpu stack dirty clean it 1.15 if (UseSSE < 2) {