1 /*
2 * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
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 *
36 class XHandlers;
37 class ExceptionInfo;
38 class DebugInformationRecorder;
39 class FrameMap;
40 class IR;
41 class IRScope;
42 class Instruction;
43 class LinearScan;
44 class OopMap;
45 class LIR_Emitter;
46 class LIR_Assembler;
47 class CodeEmitInfo;
48 class ciEnv;
49 class ciMethod;
50 class ValueStack;
51 class LIR_OprDesc;
52 class C1_MacroAssembler;
53 class CFGPrinter;
54 typedef LIR_OprDesc* LIR_Opr;
55
56
57 define_array(BasicTypeArray, BasicType)
58 define_stack(BasicTypeList, BasicTypeArray)
59
60 define_array(ExceptionInfoArray, ExceptionInfo*)
61 define_stack(ExceptionInfoList, ExceptionInfoArray)
62
63 class Compilation: public StackObj {
64 friend class CompilationResourceObj;
65 private:
66 // compilation specifics
67 Arena* _arena;
68 int _next_id;
69 int _next_block_id;
70 AbstractCompiler* _compiler;
71 DirectiveSet* _directive;
72 ciEnv* _env;
73 CompileLog* _log;
74 ciMethod* _method;
75 int _osr_bci;
76 IR* _hir;
77 int _max_spills;
78 FrameMap* _frame_map;
79 C1_MacroAssembler* _masm;
80 bool _has_exception_handlers;
81 bool _has_fpu_code;
|
1 /*
2 * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
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 *
36 class XHandlers;
37 class ExceptionInfo;
38 class DebugInformationRecorder;
39 class FrameMap;
40 class IR;
41 class IRScope;
42 class Instruction;
43 class LinearScan;
44 class OopMap;
45 class LIR_Emitter;
46 class LIR_Assembler;
47 class CodeEmitInfo;
48 class ciEnv;
49 class ciMethod;
50 class ValueStack;
51 class LIR_OprDesc;
52 class C1_MacroAssembler;
53 class CFGPrinter;
54 typedef LIR_OprDesc* LIR_Opr;
55
56 typedef GrowableArray<BasicType> BasicTypeArray;
57 typedef GrowableArray<BasicType> BasicTypeList;
58 typedef GrowableArray<ExceptionInfo*> ExceptionInfoList;
59
60 class Compilation: public StackObj {
61 friend class CompilationResourceObj;
62 private:
63 // compilation specifics
64 Arena* _arena;
65 int _next_id;
66 int _next_block_id;
67 AbstractCompiler* _compiler;
68 DirectiveSet* _directive;
69 ciEnv* _env;
70 CompileLog* _log;
71 ciMethod* _method;
72 int _osr_bci;
73 IR* _hir;
74 int _max_spills;
75 FrameMap* _frame_map;
76 C1_MacroAssembler* _masm;
77 bool _has_exception_handlers;
78 bool _has_fpu_code;
|