1 /* |
1 /* |
2 * Copyright (c) 2002, 2009, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 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. |
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 |
24 |
25 #include "incls/_precompiled.incl" |
25 #include "precompiled.hpp" |
26 #include "incls/_buildOopMap.cpp.incl" |
26 #include "compiler/oopMap.hpp" |
|
27 #include "opto/addnode.hpp" |
|
28 #include "opto/callnode.hpp" |
|
29 #include "opto/compile.hpp" |
|
30 #include "opto/machnode.hpp" |
|
31 #include "opto/matcher.hpp" |
|
32 #include "opto/phase.hpp" |
|
33 #include "opto/regalloc.hpp" |
|
34 #include "opto/rootnode.hpp" |
|
35 #ifdef TARGET_ARCH_x86 |
|
36 # include "vmreg_x86.inline.hpp" |
|
37 #endif |
|
38 #ifdef TARGET_ARCH_sparc |
|
39 # include "vmreg_sparc.inline.hpp" |
|
40 #endif |
|
41 #ifdef TARGET_ARCH_zero |
|
42 # include "vmreg_zero.inline.hpp" |
|
43 #endif |
27 |
44 |
28 // The functions in this file builds OopMaps after all scheduling is done. |
45 // The functions in this file builds OopMaps after all scheduling is done. |
29 // |
46 // |
30 // OopMaps contain a list of all registers and stack-slots containing oops (so |
47 // OopMaps contain a list of all registers and stack-slots containing oops (so |
31 // they can be updated by GC). OopMaps also contain a list of derived-pointer |
48 // they can be updated by GC). OopMaps also contain a list of derived-pointer |