equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2012, 2018 SAP SE. All rights reserved. |
3 * Copyright (c) 2012, 2018 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_PPC_VM_REGISTER_PPC_HPP |
26 #ifndef CPU_PPC_REGISTER_PPC_HPP |
27 #define CPU_PPC_VM_REGISTER_PPC_HPP |
27 #define CPU_PPC_REGISTER_PPC_HPP |
28 |
28 |
29 #include "asm/register.hpp" |
29 #include "asm/register.hpp" |
30 |
30 |
31 // forward declaration |
31 // forward declaration |
32 class Address; |
32 class Address; |
816 #ifndef DONT_USE_REGISTER_DEFINES |
816 #ifndef DONT_USE_REGISTER_DEFINES |
817 #define R11_scratch1 AS_REGISTER(Register, R11) |
817 #define R11_scratch1 AS_REGISTER(Register, R11) |
818 #define R12_scratch2 AS_REGISTER(Register, R12) |
818 #define R12_scratch2 AS_REGISTER(Register, R12) |
819 #endif |
819 #endif |
820 |
820 |
821 #endif // CPU_PPC_VM_REGISTER_PPC_HPP |
821 #endif // CPU_PPC_REGISTER_PPC_HPP |