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_VM_CI_CITYPEFLOW_HPP
26 #define SHARE_VM_CI_CITYPEFLOW_HPP
27
28 #ifdef COMPILER2
29 #include "ci/ciEnv.hpp"
30 #include "ci/ciKlass.hpp"
31 #include "ci/ciMethodBlocks.hpp"
32 #endif
33 #ifdef SHARK
34 #include "ci/ciEnv.hpp"
35 #include "ci/ciKlass.hpp"
36 #include "ci/ciMethodBlocks.hpp"
37 #endif
38
39
40 class ciTypeFlow : public ResourceObj {
41 private:
42 ciEnv* _env;
43 ciMethod* _method;
44 ciMethodBlocks* _methodBlocks;
45 int _osr_bci;
46
47 // information cached from the method:
48 int _max_locals;
49 int _max_stack;
50 int _code_size;
51 bool _has_irreducible_entry;
52
53 const char* _failure_reason;
54
55 public:
56 class StateVector;
|
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_VM_CI_CITYPEFLOW_HPP
26 #define SHARE_VM_CI_CITYPEFLOW_HPP
27
28 #ifdef COMPILER2
29 #include "ci/ciEnv.hpp"
30 #include "ci/ciKlass.hpp"
31 #include "ci/ciMethodBlocks.hpp"
32 #endif
33 #ifdef SHARK
34 #include "ci/ciEnv.hpp"
35 #include "ci/ciKlass.hpp"
36 #include "ci/ciMethodBlocks.hpp"
37 #include "shark/shark_globals.hpp"
38 #endif
39
40
41 class ciTypeFlow : public ResourceObj {
42 private:
43 ciEnv* _env;
44 ciMethod* _method;
45 ciMethodBlocks* _methodBlocks;
46 int _osr_bci;
47
48 // information cached from the method:
49 int _max_locals;
50 int _max_stack;
51 int _code_size;
52 bool _has_irreducible_entry;
53
54 const char* _failure_reason;
55
56 public:
57 class StateVector;
|