src/share/vm/opto/callGenerator.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/opto/callGenerator.hpp

src/share/vm/opto/callGenerator.hpp

Print this page
rev 5411 : 8024069: replace_in_map() should operate on parent maps
Summary: type information gets lost because replace_in_map() doesn't update parent maps
Reviewed-by:
rev 5413 : [mq]: replaceinmapparents-cleanup

*** 29,38 **** --- 29,40 ---- #include "opto/callnode.hpp" #include "opto/compile.hpp" #include "opto/type.hpp" #include "runtime/deoptimization.hpp" + class Parse; + //---------------------------CallGenerator------------------------------------- // The subclasses of this class handle generation of ideal nodes for // call sites and method entry points. class CallGenerator : public ResourceObj {
*** 106,116 **** // If the call traps, the returned map must have a control edge of top. // If the call can throw, the returned map must report has_exceptions(). // // If the result is NULL, it means that this CallGenerator was unable // to handle the given call, and another CallGenerator should be consulted. ! virtual JVMState* generate(JVMState* jvms) = 0; // How to generate a call site that is inlined: static CallGenerator* for_inline(ciMethod* m, float expected_uses = -1); // How to generate code for an on-stack replacement handler. static CallGenerator* for_osr(ciMethod* m, int osr_bci); --- 108,118 ---- // If the call traps, the returned map must have a control edge of top. // If the call can throw, the returned map must report has_exceptions(). // // If the result is NULL, it means that this CallGenerator was unable // to handle the given call, and another CallGenerator should be consulted. ! virtual JVMState* generate(JVMState* jvms, Parse* parent_parser) = 0; // How to generate a call site that is inlined: static CallGenerator* for_inline(ciMethod* m, float expected_uses = -1); // How to generate code for an on-stack replacement handler. static CallGenerator* for_osr(ciMethod* m, int osr_bci);
src/share/vm/opto/callGenerator.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File