Mercurial > hg > truffle
comparison src/share/vm/opto/locknode.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | c18cbe5936b8 |
children | b92c45f2bc75 |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1999, 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_LOCKNODE_HPP | |
26 #define SHARE_VM_OPTO_LOCKNODE_HPP | |
27 | |
28 #include "opto/node.hpp" | |
29 #include "opto/opcodes.hpp" | |
30 #include "opto/subnode.hpp" | |
31 #ifdef TARGET_ARCH_MODEL_x86_32 | |
32 # include "adfiles/ad_x86_32.hpp" | |
33 #endif | |
34 #ifdef TARGET_ARCH_MODEL_x86_64 | |
35 # include "adfiles/ad_x86_64.hpp" | |
36 #endif | |
37 #ifdef TARGET_ARCH_MODEL_sparc | |
38 # include "adfiles/ad_sparc.hpp" | |
39 #endif | |
40 #ifdef TARGET_ARCH_MODEL_zero | |
41 # include "adfiles/ad_zero.hpp" | |
42 #endif | |
24 | 43 |
25 //------------------------------BoxLockNode------------------------------------ | 44 //------------------------------BoxLockNode------------------------------------ |
26 class BoxLockNode : public Node { | 45 class BoxLockNode : public Node { |
27 public: | 46 public: |
28 const int _slot; | 47 const int _slot; |
98 virtual int Opcode() const; | 117 virtual int Opcode() const; |
99 virtual const Type *Value( PhaseTransform *phase ) const { return TypeInt::CC; } | 118 virtual const Type *Value( PhaseTransform *phase ) const { return TypeInt::CC; } |
100 const Type *sub(const Type *t1, const Type *t2) const { return TypeInt::CC;} | 119 const Type *sub(const Type *t1, const Type *t2) const { return TypeInt::CC;} |
101 | 120 |
102 }; | 121 }; |
122 | |
123 #endif // SHARE_VM_OPTO_LOCKNODE_HPP |