< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/memory/MemoryPhiNode.java

Print this page




  45     public MemoryPhiNode(AbstractMergeNode merge, LocationIdentity locationIdentity) {
  46         super(TYPE, StampFactory.forVoid(), merge);
  47         this.locationIdentity = locationIdentity;
  48         this.values = new NodeInputList<>(this);
  49     }
  50 
  51     public MemoryPhiNode(AbstractMergeNode merge, LocationIdentity locationIdentity, ValueNode[] values) {
  52         super(TYPE, StampFactory.forVoid(), merge);
  53         this.locationIdentity = locationIdentity;
  54         this.values = new NodeInputList<>(this, values);
  55     }
  56 
  57     public LocationIdentity getLocationIdentity() {
  58         return locationIdentity;
  59     }
  60 
  61     @Override
  62     public NodeInputList<ValueNode> values() {
  63         return values;
  64     }





  65 }


  45     public MemoryPhiNode(AbstractMergeNode merge, LocationIdentity locationIdentity) {
  46         super(TYPE, StampFactory.forVoid(), merge);
  47         this.locationIdentity = locationIdentity;
  48         this.values = new NodeInputList<>(this);
  49     }
  50 
  51     public MemoryPhiNode(AbstractMergeNode merge, LocationIdentity locationIdentity, ValueNode[] values) {
  52         super(TYPE, StampFactory.forVoid(), merge);
  53         this.locationIdentity = locationIdentity;
  54         this.values = new NodeInputList<>(this, values);
  55     }
  56 
  57     public LocationIdentity getLocationIdentity() {
  58         return locationIdentity;
  59     }
  60 
  61     @Override
  62     public NodeInputList<ValueNode> values() {
  63         return values;
  64     }
  65 
  66     @Override
  67     protected String valueDescription() {
  68         return locationIdentity.toString();
  69     }
  70 }
< prev index next >