Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.graal.word/src/com/oracle/graal/word/nodes/WordCastNode.java @ 16837:a4ab20ebeed5
fixed Node classes that were final, private or had private constructors
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 14 Aug 2014 23:27:53 +0200 |
parents | 5d468add216f |
children | cbd42807a31f |
comparison
equal
deleted
inserted
replaced
16836:c47522db4c00 | 16837:a4ab20ebeed5 |
---|---|
47 public static WordCastNode objectToWord(ValueNode input, Kind wordKind) { | 47 public static WordCastNode objectToWord(ValueNode input, Kind wordKind) { |
48 assert input.getKind() == Kind.Object; | 48 assert input.getKind() == Kind.Object; |
49 return new WordCastNode(StampFactory.forKind(wordKind), input); | 49 return new WordCastNode(StampFactory.forKind(wordKind), input); |
50 } | 50 } |
51 | 51 |
52 private WordCastNode(Stamp stamp, ValueNode input) { | 52 WordCastNode(Stamp stamp, ValueNode input) { |
53 super(stamp); | 53 super(stamp); |
54 this.input = input; | 54 this.input = input; |
55 } | 55 } |
56 | 56 |
57 public ValueNode getInput() { | 57 public ValueNode getInput() { |