Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/ir/ArrayLength.java @ 2827:bd17ac598c6e
Graph cloning, initial version (not completely working)
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Mon, 30 May 2011 18:46:57 +0200 |
parents | d27bdbec3d67 |
children | caf55daa41dc |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/ArrayLength.java Mon May 30 17:05:06 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/ArrayLength.java Mon May 30 18:46:57 2011 +0200 @@ -92,4 +92,11 @@ public void print(LogStream out) { out.print(array()).print(".length"); } + + @Override + public Node copy(Graph into) { + ArrayLength x = new ArrayLength(null, into); + x.setNonNull(isNonNull()); + return x; + } }