equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2014, 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. |
29 #include "c1/c1_FrameMap.hpp" |
29 #include "c1/c1_FrameMap.hpp" |
30 #include "c1/c1_IR.hpp" |
30 #include "c1/c1_IR.hpp" |
31 #include "c1/c1_LIRGenerator.hpp" |
31 #include "c1/c1_LIRGenerator.hpp" |
32 #include "c1/c1_LinearScan.hpp" |
32 #include "c1/c1_LinearScan.hpp" |
33 #include "c1/c1_ValueStack.hpp" |
33 #include "c1/c1_ValueStack.hpp" |
|
34 #include "code/vmreg.inline.hpp" |
34 #include "utilities/bitMap.inline.hpp" |
35 #include "utilities/bitMap.inline.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 |
|
44 #ifdef TARGET_ARCH_arm |
|
45 # include "vmreg_arm.inline.hpp" |
|
46 #endif |
|
47 #ifdef TARGET_ARCH_ppc |
|
48 # include "vmreg_ppc.inline.hpp" |
|
49 #endif |
|
50 |
|
51 |
36 |
52 #ifndef PRODUCT |
37 #ifndef PRODUCT |
53 |
38 |
54 static LinearScanStatistic _stat_before_alloc; |
39 static LinearScanStatistic _stat_before_alloc; |
55 static LinearScanStatistic _stat_after_asign; |
40 static LinearScanStatistic _stat_after_asign; |