Mercurial > hg > truffle
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/NewInstanceNode.java @ 11880:9a747d8e0d0f
broadened types in Canonicalizable interface so that it can be moved to the com.oracle.graal.graph project (GRAAL-506)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 01 Oct 2013 20:32:47 +0200 |
parents | 24ff15442a09 |
children | da9db8331658 |
comparison
equal
deleted
inserted
replaced
11879:7e57add9c0d5 | 11880:9a747d8e0d0f |
---|---|
66 public boolean fillContents() { | 66 public boolean fillContents() { |
67 return fillContents; | 67 return fillContents; |
68 } | 68 } |
69 | 69 |
70 @Override | 70 @Override |
71 public ValueNode canonical(CanonicalizerTool tool) { | 71 public Node canonical(CanonicalizerTool tool) { |
72 if (usages().isEmpty()) { | 72 if (usages().isEmpty()) { |
73 return null; | 73 return null; |
74 } else { | 74 } else { |
75 return this; | 75 return this; |
76 } | 76 } |