Mercurial > hg > graal-compiler
comparison src/share/vm/c1/c1_LIRAssembler.cpp @ 1691:4a665be40fd3
6975855: don't emit deopt MH handler in C1 if not required
Summary: This CR implements the same for C1 as 6926782 for C2.
Reviewed-by: never
author | twisti |
---|---|
date | Wed, 11 Aug 2010 01:17:27 -0700 |
parents | e9ff18c4ace7 |
children | d5d065957597 |
comparison
equal
deleted
inserted
replaced
1690:36519c19beeb | 1691:4a665be40fd3 |
---|---|
436 vtable_call(op); | 436 vtable_call(op); |
437 break; | 437 break; |
438 default: ShouldNotReachHere(); | 438 default: ShouldNotReachHere(); |
439 } | 439 } |
440 | 440 |
441 // JSR 292 | |
442 // Record if this method has MethodHandle invokes. | |
443 if (op->is_method_handle_invoke()) { | |
444 compilation()->set_has_method_handle_invokes(true); | |
445 } | |
446 | |
441 #if defined(X86) && defined(TIERED) | 447 #if defined(X86) && defined(TIERED) |
442 // C2 leave fpu stack dirty clean it | 448 // C2 leave fpu stack dirty clean it |
443 if (UseSSE < 2) { | 449 if (UseSSE < 2) { |
444 int i; | 450 int i; |
445 for ( i = 1; i <= 7 ; i++ ) { | 451 for ( i = 1; i <= 7 ; i++ ) { |