equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2010, 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. |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
|
24 |
|
25 #ifndef SHARE_VM_OPTO_REGMASK_HPP |
|
26 #define SHARE_VM_OPTO_REGMASK_HPP |
|
27 |
|
28 #include "code/vmreg.hpp" |
|
29 #include "libadt/port.hpp" |
|
30 #include "opto/optoreg.hpp" |
|
31 #ifdef TARGET_ARCH_MODEL_x86_32 |
|
32 # include "adfiles/adGlobals_x86_32.hpp" |
|
33 #endif |
|
34 #ifdef TARGET_ARCH_MODEL_x86_64 |
|
35 # include "adfiles/adGlobals_x86_64.hpp" |
|
36 #endif |
|
37 #ifdef TARGET_ARCH_MODEL_sparc |
|
38 # include "adfiles/adGlobals_sparc.hpp" |
|
39 #endif |
|
40 #ifdef TARGET_ARCH_MODEL_zero |
|
41 # include "adfiles/adGlobals_zero.hpp" |
|
42 #endif |
24 |
43 |
25 // Some fun naming (textual) substitutions: |
44 // Some fun naming (textual) substitutions: |
26 // |
45 // |
27 // RegMask::get_low_elem() ==> RegMask::find_first_elem() |
46 // RegMask::get_low_elem() ==> RegMask::find_first_elem() |
28 // RegMask::Special ==> RegMask::Empty |
47 // RegMask::Special ==> RegMask::Empty |
260 } |
279 } |
261 }; |
280 }; |
262 |
281 |
263 // Do not use this constant directly in client code! |
282 // Do not use this constant directly in client code! |
264 #undef RM_SIZE |
283 #undef RM_SIZE |
|
284 |
|
285 #endif // SHARE_VM_OPTO_REGMASK_HPP |