Mercurial > hg > graal-compiler
diff graal/GraalCompiler/src/com/sun/c1x/ir/Placeholder.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 | bda5972a40a5 |
children | 14708c03abba |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/Placeholder.java Mon May 30 17:05:06 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/Placeholder.java Mon May 30 18:46:57 2011 +0200 @@ -61,4 +61,11 @@ public String shortName() { return "Placeholder" + id(); } + + @Override + public Node copy(Graph into) { + Placeholder x = new Placeholder(into); + x.setNonNull(isNonNull()); + return x; + } }