hotspot/src/share/vm/opto/locknode.hpp
changeset 7397 5b173b4ca846
parent 5547 f4b087cbb361
child 8107 78e5bd944384
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
     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