src/share/vm/opto/cfgnode.hpp

changeset 8940
eb9e617d6f64
parent 8646
88235cdca8d7
child 8945
3b6372514697
     1.1 --- a/src/share/vm/opto/cfgnode.hpp	Wed Jan 25 09:56:19 2017 -0800
     1.2 +++ b/src/share/vm/opto/cfgnode.hpp	Tue Jan 31 16:31:09 2017 +0300
     1.3 @@ -119,9 +119,6 @@
     1.4  // input in slot 0.
     1.5  class PhiNode : public TypeNode {
     1.6    const TypePtr* const _adr_type; // non-null only for Type::MEMORY nodes.
     1.7 -  // The following fields are only used for data PhiNodes to indicate
     1.8 -  // that the PhiNode represents the value of a known instance field.
     1.9 -        int _inst_mem_id; // Instance memory id (node index of the memory Phi)
    1.10    const int _inst_id;     // Instance id of the memory slice.
    1.11    const int _inst_index;  // Alias index of the instance memory slice.
    1.12    // Array elements references have the same alias_idx but different offset.
    1.13 @@ -141,13 +138,11 @@
    1.14    };
    1.15  
    1.16    PhiNode( Node *r, const Type *t, const TypePtr* at = NULL,
    1.17 -           const int imid = -1,
    1.18             const int iid = TypeOopPtr::InstanceTop,
    1.19             const int iidx = Compile::AliasIdxTop,
    1.20             const int ioffs = Type::OffsetTop )
    1.21      : TypeNode(t,r->req()),
    1.22        _adr_type(at),
    1.23 -      _inst_mem_id(imid),
    1.24        _inst_id(iid),
    1.25        _inst_index(iidx),
    1.26        _inst_offset(ioffs)
    1.27 @@ -192,14 +187,11 @@
    1.28    virtual bool pinned() const { return in(0) != 0; }
    1.29    virtual const TypePtr *adr_type() const { verify_adr_type(true); return _adr_type; }
    1.30  
    1.31 -  void  set_inst_mem_id(int inst_mem_id) { _inst_mem_id = inst_mem_id; }
    1.32 -  const int inst_mem_id() const { return _inst_mem_id; }
    1.33    const int inst_id()     const { return _inst_id; }
    1.34    const int inst_index()  const { return _inst_index; }
    1.35    const int inst_offset() const { return _inst_offset; }
    1.36 -  bool is_same_inst_field(const Type* tp, int mem_id, int id, int index, int offset) {
    1.37 +  bool is_same_inst_field(const Type* tp, int id, int index, int offset) {
    1.38      return type()->basic_type() == tp->basic_type() &&
    1.39 -           inst_mem_id() == mem_id &&
    1.40             inst_id()     == id     &&
    1.41             inst_index()  == index  &&
    1.42             inst_offset() == offset &&

mercurial