Mercurial > hg > truffle
comparison src/share/vm/opto/compile.hpp @ 5927:b40ac3579043
6658428: C2 doesn't inline java method if corresponding intrinsic failed to inline.
Summary: Allow fallback to non-intrinsic inline case
Reviewed-by: kvn, jrose, never
Contributed-by: nils.eliasson@oracle.com
author | never |
---|---|
date | Mon, 05 Mar 2012 18:10:31 -0800 |
parents | 6729bbc1fcd6 |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
5926:e5f73be4c7f1 | 5927:b40ac3579043 |
---|---|
629 void return_values(JVMState* jvms); | 629 void return_values(JVMState* jvms); |
630 JVMState* build_start_state(StartNode* start, const TypeFunc* tf); | 630 JVMState* build_start_state(StartNode* start, const TypeFunc* tf); |
631 | 631 |
632 // Decide how to build a call. | 632 // Decide how to build a call. |
633 // The profile factor is a discount to apply to this site's interp. profile. | 633 // The profile factor is a discount to apply to this site's interp. profile. |
634 CallGenerator* call_generator(ciMethod* call_method, int vtable_index, bool call_is_virtual, JVMState* jvms, bool allow_inline, float profile_factor); | 634 CallGenerator* call_generator(ciMethod* call_method, int vtable_index, bool call_is_virtual, JVMState* jvms, bool allow_inline, float profile_factor, bool allow_intrinsics = true); |
635 bool should_delay_inlining(ciMethod* call_method, JVMState* jvms); | 635 bool should_delay_inlining(ciMethod* call_method, JVMState* jvms); |
636 | 636 |
637 // Report if there were too many traps at a current method and bci. | 637 // Report if there were too many traps at a current method and bci. |
638 // Report if a trap was recorded, and/or PerMethodTrapLimit was exceeded. | 638 // Report if a trap was recorded, and/or PerMethodTrapLimit was exceeded. |
639 // If there is no MDO at all, report no trap unless told to assume it. | 639 // If there is no MDO at all, report no trap unless told to assume it. |