@@ -43,10 +43,15 @@ @Override public ValueNode getValue() { return value; } + public void setValue(ValueNode value) { + updateUsages(this.value, value); + this.value = value; + } + /** * Creates a new UnaryNode instance. * * @param stamp the result type of this instruction * @param value the input instruction