equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2018, 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. |
258 |
258 |
259 void atomic_op(LIR_Code code, LIR_Opr src, LIR_Opr data, LIR_Opr dest, LIR_Opr tmp); |
259 void atomic_op(LIR_Code code, LIR_Opr src, LIR_Opr data, LIR_Opr dest, LIR_Opr tmp); |
260 |
260 |
261 #include CPU_HEADER(c1_LIRAssembler) |
261 #include CPU_HEADER(c1_LIRAssembler) |
262 |
262 |
|
263 public: |
|
264 |
263 static int call_stub_size() { |
265 static int call_stub_size() { |
264 if (UseAOT) { |
266 if (UseAOT) { |
265 return _call_stub_size + _call_aot_stub_size; |
267 return _call_stub_size + _call_aot_stub_size; |
266 } else { |
268 } else { |
267 return _call_stub_size; |
269 return _call_stub_size; |