equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2016 SAP SE. All rights reserved. |
3 * Copyright (c) 2016 SAP SE. All rights reserved. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
21 * or visit www.oracle.com if you need additional information or have any |
21 * or visit www.oracle.com if you need additional information or have any |
22 * questions. |
22 * questions. |
23 * |
23 * |
24 */ |
24 */ |
25 |
25 |
26 #ifndef CPU_S390_VM_C1_LINEARSCAN_S390_HPP |
26 #ifndef CPU_S390_C1_LINEARSCAN_S390_HPP |
27 #define CPU_S390_VM_C1_LINEARSCAN_S390_HPP |
27 #define CPU_S390_C1_LINEARSCAN_S390_HPP |
28 |
28 |
29 inline bool LinearScan::is_processed_reg_num(int reg_num) { |
29 inline bool LinearScan::is_processed_reg_num(int reg_num) { |
30 // unallocated: Z_thread, Z_fp, Z_SP, Z_R0_scratch, Z_R1_scratch, Z_R14 |
30 // unallocated: Z_thread, Z_fp, Z_SP, Z_R0_scratch, Z_R1_scratch, Z_R14 |
31 assert(FrameMap::Z_R14_opr->cpu_regnr() == 10, "wrong assumption below"); |
31 assert(FrameMap::Z_R14_opr->cpu_regnr() == 10, "wrong assumption below"); |
32 assert(FrameMap::Z_R0_opr->cpu_regnr() == 11, "wrong assumption below"); |
32 assert(FrameMap::Z_R0_opr->cpu_regnr() == 11, "wrong assumption below"); |
59 |
59 |
60 inline bool LinearScanWalker::pd_init_regs_for_alloc(Interval* cur) { |
60 inline bool LinearScanWalker::pd_init_regs_for_alloc(Interval* cur) { |
61 return false; // No special case behaviours. |
61 return false; // No special case behaviours. |
62 } |
62 } |
63 |
63 |
64 #endif // CPU_S390_VM_C1_LINEARSCAN_S390_HPP |
64 #endif // CPU_S390_C1_LINEARSCAN_S390_HPP |