11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_OPTO_CALLGENERATOR_HPP
26 #define SHARE_OPTO_CALLGENERATOR_HPP
27
28 #include "compiler/compileBroker.hpp"
29 #include "opto/callnode.hpp"
30 #include "opto/compile.hpp"
31 #include "opto/type.hpp"
32 #include "runtime/deoptimization.hpp"
33
34 //---------------------------CallGenerator-------------------------------------
35 // The subclasses of this class handle generation of ideal nodes for
36 // call sites and method entry points.
37
38 class CallGenerator : public ArenaObj {
39 private:
40 ciMethod* _method; // The method being called.
41
42 protected:
43 CallGenerator(ciMethod* method) : _method(method) {}
44
45 void do_late_inline_helper();
46
47 virtual bool do_late_inline_check(Compile* C, JVMState* jvms) { ShouldNotReachHere(); return false; }
48 virtual CallGenerator* inline_cg() const { ShouldNotReachHere(); return nullptr;}
49 virtual bool is_pure_call() const { ShouldNotReachHere(); return false; }
50
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_OPTO_CALLGENERATOR_HPP
26 #define SHARE_OPTO_CALLGENERATOR_HPP
27
28 #include "compiler/compileBroker.hpp"
29 #include "opto/callnode.hpp"
30 #include "opto/compile.hpp"
31 #include "opto/partialEscape.hpp"
32 #include "opto/type.hpp"
33 #include "runtime/deoptimization.hpp"
34
35 //---------------------------CallGenerator-------------------------------------
36 // The subclasses of this class handle generation of ideal nodes for
37 // call sites and method entry points.
38
39 class CallGenerator : public ArenaObj {
40 private:
41 ciMethod* _method; // The method being called.
42
43 protected:
44 CallGenerator(ciMethod* method) : _method(method) {}
45
46 void do_late_inline_helper();
47
48 virtual bool do_late_inline_check(Compile* C, JVMState* jvms) { ShouldNotReachHere(); return false; }
49 virtual CallGenerator* inline_cg() const { ShouldNotReachHere(); return nullptr;}
50 virtual bool is_pure_call() const { ShouldNotReachHere(); return false; }
51
|