< prev index next >

src/hotspot/share/opto/locknode.hpp

Print this page
*** 91,11 ***
    bool is_eliminated() const { return _kind == Eliminated; }
    bool is_unbalanced() const { return _kind == Unbalanced; }
  
    void set_local()      {
      assert((_kind == Regular || _kind == Local || _kind == Coarsened),
!            "incorrect kind for Local transitioni: %s", _kind_name[(int)_kind]);
      _kind = Local;
    }
    void set_nested()     {
      assert((_kind == Regular || _kind == Nested || _kind == Coarsened),
             "incorrect kind for Nested transition: %s", _kind_name[(int)_kind]);
--- 91,11 ---
    bool is_eliminated() const { return _kind == Eliminated; }
    bool is_unbalanced() const { return _kind == Unbalanced; }
  
    void set_local()      {
      assert((_kind == Regular || _kind == Local || _kind == Coarsened),
!            "incorrect kind for Local transition: %s", _kind_name[(int)_kind]);
      _kind = Local;
    }
    void set_nested()     {
      assert((_kind == Regular || _kind == Nested || _kind == Coarsened),
             "incorrect kind for Nested transition: %s", _kind_name[(int)_kind]);

*** 143,11 ***
    // LockNode/UnLockNode to avoid creating Phi's.
    virtual uint hash() const ;                  // { return NO_HASH; }
    virtual uint size_of() const;
    virtual bool cmp( const Node &n ) const ;    // Always fail, except on self
    virtual int Opcode() const;
!   virtual const Type* Value(PhaseGVN* phase) const { return TypeInt::CC; }
    const Type *sub(const Type *t1, const Type *t2) const { return TypeInt::CC;}
  };
  
  
  //------------------------------FastUnlockNode---------------------------------
--- 143,11 ---
    // LockNode/UnLockNode to avoid creating Phi's.
    virtual uint hash() const ;                  // { return NO_HASH; }
    virtual uint size_of() const;
    virtual bool cmp( const Node &n ) const ;    // Always fail, except on self
    virtual int Opcode() const;
!   virtual const Type* Value(PhaseGVN* phase) const;
    const Type *sub(const Type *t1, const Type *t2) const { return TypeInt::CC;}
  };
  
  
  //------------------------------FastUnlockNode---------------------------------
< prev index next >