14 * accompanied this code).
15 *
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
26 #include "precompiled.hpp"
27 #include "c1/c1_CodeStubs.hpp"
28 #include "c1/c1_FrameMap.hpp"
29 #include "c1/c1_LIRAssembler.hpp"
30 #include "c1/c1_MacroAssembler.hpp"
31 #include "c1/c1_Runtime1.hpp"
32 #include "nativeInst_s390.hpp"
33 #include "runtime/sharedRuntime.hpp"
34 #include "utilities/macros.hpp"
35 #include "vmreg_s390.inline.hpp"
36 #if INCLUDE_ALL_GCS
37 #include "gc/g1/g1SATBCardTableModRefBS.hpp"
38 #endif // INCLUDE_ALL_GCS
39
40 #define __ ce->masm()->
41 #undef CHECK_BAILOUT
42 #define CHECK_BAILOUT() { if (ce->compilation()->bailed_out()) return; }
43
44 RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index,
45 bool throw_index_out_of_bounds_exception) :
46 _throw_index_out_of_bounds_exception(throw_index_out_of_bounds_exception),
47 _index(index) {
48 assert(info != NULL, "must have info");
49 _info = new CodeEmitInfo(info);
50 }
51
52 void RangeCheckStub::emit_code(LIR_Assembler* ce) {
53 __ bind(_entry);
|
14 * accompanied this code).
15 *
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
26 #include "precompiled.hpp"
27 #include "c1/c1_CodeStubs.hpp"
28 #include "c1/c1_FrameMap.hpp"
29 #include "c1/c1_LIRAssembler.hpp"
30 #include "c1/c1_MacroAssembler.hpp"
31 #include "c1/c1_Runtime1.hpp"
32 #include "nativeInst_s390.hpp"
33 #include "runtime/sharedRuntime.hpp"
34 #include "utilities/align.hpp"
35 #include "utilities/macros.hpp"
36 #include "vmreg_s390.inline.hpp"
37 #if INCLUDE_ALL_GCS
38 #include "gc/g1/g1SATBCardTableModRefBS.hpp"
39 #endif // INCLUDE_ALL_GCS
40
41 #define __ ce->masm()->
42 #undef CHECK_BAILOUT
43 #define CHECK_BAILOUT() { if (ce->compilation()->bailed_out()) return; }
44
45 RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index,
46 bool throw_index_out_of_bounds_exception) :
47 _throw_index_out_of_bounds_exception(throw_index_out_of_bounds_exception),
48 _index(index) {
49 assert(info != NULL, "must have info");
50 _info = new CodeEmitInfo(info);
51 }
52
53 void RangeCheckStub::emit_code(LIR_Assembler* ce) {
54 __ bind(_entry);
|