equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. |
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. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
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 |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
102 DEBUG_ONLY(void set_lir_op_id(int lir_op_id) { _lir_op_id = lir_op_id; }); |
102 DEBUG_ONLY(void set_lir_op_id(int lir_op_id) { _lir_op_id = lir_op_id; }); |
103 |
103 |
104 bool equals(XHandler* other) const; |
104 bool equals(XHandler* other) const; |
105 }; |
105 }; |
106 |
106 |
107 define_array(_XHandlerArray, XHandler*) |
107 typedef GrowableArray<XHandler*> _XHandlerList; |
108 define_stack(_XHandlerList, _XHandlerArray) |
|
109 |
|
110 |
108 |
111 // XHandlers is the C1 internal list of exception handlers for a method |
109 // XHandlers is the C1 internal list of exception handlers for a method |
112 class XHandlers: public CompilationResourceObj { |
110 class XHandlers: public CompilationResourceObj { |
113 private: |
111 private: |
114 _XHandlerList _list; |
112 _XHandlerList _list; |
130 bool equals(XHandlers* others) const; |
128 bool equals(XHandlers* others) const; |
131 }; |
129 }; |
132 |
130 |
133 |
131 |
134 class IRScope; |
132 class IRScope; |
135 define_array(IRScopeArray, IRScope*) |
133 typedef GrowableArray<IRScope*> IRScopeList; |
136 define_stack(IRScopeList, IRScopeArray) |
|
137 |
134 |
138 class Compilation; |
135 class Compilation; |
139 class IRScope: public CompilationResourceObj { |
136 class IRScope: public CompilationResourceObj { |
140 private: |
137 private: |
141 // hierarchy |
138 // hierarchy |