Mercurial > hg > truffle
changeset 5631:f2d228de28d7
Make the value proxy node use the stamp of the proxied value.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 16 Jun 2012 02:17:44 +0200 |
parents | b60a368c8104 |
children | 4d0f01e9f31b |
files | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/ValueProxyNode.java |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/ValueProxyNode.java Sat Jun 16 00:39:30 2012 +0200 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/ValueProxyNode.java Sat Jun 16 02:17:44 2012 +0200 @@ -26,6 +26,7 @@ import com.oracle.graal.graph.Node.*; import com.oracle.graal.nodes.PhiNode.PhiType; import com.oracle.graal.nodes.calc.*; +import com.oracle.graal.nodes.type.*; /** * A value proxy that is inserted in the frame state of a loop exit for any value that is @@ -49,6 +50,11 @@ return value; } + @Override + public Stamp stamp() { + return value.stamp(); + } + public BeginNode proxyPoint() { return proxyPoint; }