1 /* |
1 /* |
2 * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2015, 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. |
26 #define SHARE_VM_OPTO_LOCKNODE_HPP |
26 #define SHARE_VM_OPTO_LOCKNODE_HPP |
27 |
27 |
28 #include "opto/node.hpp" |
28 #include "opto/node.hpp" |
29 #include "opto/opcodes.hpp" |
29 #include "opto/opcodes.hpp" |
30 #include "opto/subnode.hpp" |
30 #include "opto/subnode.hpp" |
31 #ifdef TARGET_ARCH_MODEL_x86_32 |
31 #if defined AD_MD_HPP |
|
32 # include AD_MD_HPP |
|
33 #elif defined TARGET_ARCH_MODEL_x86_32 |
32 # include "adfiles/ad_x86_32.hpp" |
34 # include "adfiles/ad_x86_32.hpp" |
33 #endif |
35 #elif defined TARGET_ARCH_MODEL_x86_64 |
34 #ifdef TARGET_ARCH_MODEL_x86_64 |
|
35 # include "adfiles/ad_x86_64.hpp" |
36 # include "adfiles/ad_x86_64.hpp" |
36 #endif |
37 #elif defined TARGET_ARCH_MODEL_sparc |
37 #ifdef TARGET_ARCH_MODEL_sparc |
|
38 # include "adfiles/ad_sparc.hpp" |
38 # include "adfiles/ad_sparc.hpp" |
39 #endif |
39 #elif defined TARGET_ARCH_MODEL_zero |
40 #ifdef TARGET_ARCH_MODEL_zero |
|
41 # include "adfiles/ad_zero.hpp" |
40 # include "adfiles/ad_zero.hpp" |
42 #endif |
41 #elif defined TARGET_ARCH_MODEL_ppc_64 |
43 #ifdef TARGET_ARCH_MODEL_arm |
|
44 # include "adfiles/ad_arm.hpp" |
|
45 #endif |
|
46 #ifdef TARGET_ARCH_MODEL_ppc_32 |
|
47 # include "adfiles/ad_ppc_32.hpp" |
|
48 #endif |
|
49 #ifdef TARGET_ARCH_MODEL_ppc_64 |
|
50 # include "adfiles/ad_ppc_64.hpp" |
42 # include "adfiles/ad_ppc_64.hpp" |
51 #endif |
43 #endif |
52 |
44 |
53 //------------------------------BoxLockNode------------------------------------ |
45 //------------------------------BoxLockNode------------------------------------ |
54 class BoxLockNode : public Node { |
46 class BoxLockNode : public Node { |