1 /* |
1 /* |
2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 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. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
26 #include "memory/allocation.inline.hpp" |
26 #include "memory/allocation.inline.hpp" |
|
27 #include "opto/ad.hpp" |
27 #include "opto/block.hpp" |
28 #include "opto/block.hpp" |
28 #include "opto/c2compiler.hpp" |
29 #include "opto/c2compiler.hpp" |
29 #include "opto/callnode.hpp" |
30 #include "opto/callnode.hpp" |
30 #include "opto/cfgnode.hpp" |
31 #include "opto/cfgnode.hpp" |
31 #include "opto/machnode.hpp" |
32 #include "opto/machnode.hpp" |
32 #include "opto/runtime.hpp" |
33 #include "opto/runtime.hpp" |
33 #ifdef TARGET_ARCH_MODEL_x86_32 |
|
34 # include "adfiles/ad_x86_32.hpp" |
|
35 #endif |
|
36 #ifdef TARGET_ARCH_MODEL_x86_64 |
|
37 # include "adfiles/ad_x86_64.hpp" |
|
38 #endif |
|
39 #ifdef TARGET_ARCH_MODEL_sparc |
|
40 # include "adfiles/ad_sparc.hpp" |
|
41 #endif |
|
42 #ifdef TARGET_ARCH_MODEL_zero |
|
43 # include "adfiles/ad_zero.hpp" |
|
44 #endif |
|
45 #ifdef TARGET_ARCH_MODEL_arm |
|
46 # include "adfiles/ad_arm.hpp" |
|
47 #endif |
|
48 #ifdef TARGET_ARCH_MODEL_ppc_32 |
|
49 # include "adfiles/ad_ppc_32.hpp" |
|
50 #endif |
|
51 #ifdef TARGET_ARCH_MODEL_ppc_64 |
|
52 # include "adfiles/ad_ppc_64.hpp" |
|
53 #endif |
|
54 |
34 |
55 // Optimization - Graph Style |
35 // Optimization - Graph Style |
56 |
36 |
57 // Check whether val is not-null-decoded compressed oop, |
37 // Check whether val is not-null-decoded compressed oop, |
58 // i.e. will grab into the base of the heap if it represents NULL. |
38 // i.e. will grab into the base of the heap if it represents NULL. |