Mercurial > hg > truffle
comparison src/share/vm/opto/callGenerator.hpp @ 1137:97125851f396
6829187: compiler optimizations required for JSR 292
Summary: C2 implementation for invokedynamic support.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Tue, 05 Jan 2010 13:05:58 +0100 |
parents | 7c57aead6d3e |
children | dd57230ba8fe |
comparison
equal
deleted
inserted
replaced
1136:4b84186a8248 | 1137:97125851f396 |
---|---|
98 // How to generate code for an on-stack replacement handler. | 98 // How to generate code for an on-stack replacement handler. |
99 static CallGenerator* for_osr(ciMethod* m, int osr_bci); | 99 static CallGenerator* for_osr(ciMethod* m, int osr_bci); |
100 | 100 |
101 // How to generate vanilla out-of-line call sites: | 101 // How to generate vanilla out-of-line call sites: |
102 static CallGenerator* for_direct_call(ciMethod* m, bool separate_io_projs = false); // static, special | 102 static CallGenerator* for_direct_call(ciMethod* m, bool separate_io_projs = false); // static, special |
103 static CallGenerator* for_dynamic_call(ciMethod* m); // invokedynamic | |
103 static CallGenerator* for_virtual_call(ciMethod* m, int vtable_index); // virtual, interface | 104 static CallGenerator* for_virtual_call(ciMethod* m, int vtable_index); // virtual, interface |
104 | 105 |
105 // How to generate a replace a direct call with an inline version | 106 // How to generate a replace a direct call with an inline version |
106 static CallGenerator* for_late_inline(ciMethod* m, CallGenerator* inline_cg); | 107 static CallGenerator* for_late_inline(ciMethod* m, CallGenerator* inline_cg); |
107 | 108 |