|
1 | 1 | /* |
2 | 2 | * Copyright (c) 1999, 2021, Oracle and/or its affiliates. All rights reserved. |
3 | | - * Copyright (c) 2021, 2022, Loongson Technology. All rights reserved. |
| 3 | + * Copyright (c) 2021, 2023, Loongson Technology. All rights reserved. |
4 | 4 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 | 5 | * |
6 | 6 | * This code is free software; you can redistribute it and/or modify it |
@@ -62,18 +62,6 @@ void CounterOverflowStub::emit_code(LIR_Assembler* ce) { |
62 | 62 | __ b(_continuation); |
63 | 63 | } |
64 | 64 |
|
65 | | -RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index, LIR_Opr array) |
66 | | - : _index(index), _array(array), _throw_index_out_of_bounds_exception(false) { |
67 | | - assert(info != NULL, "must have info"); |
68 | | - _info = new CodeEmitInfo(info); |
69 | | -} |
70 | | - |
71 | | -RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index) |
72 | | - : _index(index), _array(), _throw_index_out_of_bounds_exception(true) { |
73 | | - assert(info != NULL, "must have info"); |
74 | | - _info = new CodeEmitInfo(info); |
75 | | -} |
76 | | - |
77 | 65 | void RangeCheckStub::emit_code(LIR_Assembler* ce) { |
78 | 66 | __ bind(_entry); |
79 | 67 | if (_info->deoptimize_on_exception()) { |
@@ -200,13 +188,6 @@ void NewObjectArrayStub::emit_code(LIR_Assembler* ce) { |
200 | 188 | __ b(_continuation); |
201 | 189 | } |
202 | 190 |
|
203 | | -// Implementation of MonitorAccessStubs |
204 | | - |
205 | | -MonitorEnterStub::MonitorEnterStub(LIR_Opr obj_reg, LIR_Opr lock_reg, CodeEmitInfo* info) |
206 | | - : MonitorAccessStub(obj_reg, lock_reg) { |
207 | | - _info = new CodeEmitInfo(info); |
208 | | -} |
209 | | - |
210 | 191 | void MonitorEnterStub::emit_code(LIR_Assembler* ce) { |
211 | 192 | assert(__ rsp_offset() == 0, "frame size should be fixed"); |
212 | 193 | __ bind(_entry); |
|
0 commit comments