Mercurial > hg > graal-compiler
diff graal/GraalCompiler/src/com/sun/c1x/ir/Throw.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 | 9bc0c2eb00d6 |
children | 775c31be565c |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/Throw.java Mon May 30 17:05:06 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/Throw.java Mon May 30 18:46:57 2011 +0200 @@ -104,4 +104,11 @@ public void print(LogStream out) { out.print("throw ").print(exception()); } + + @Override + public Node copy(Graph into) { + Throw x = new Throw(null, into); + x.setNonNull(isNonNull()); + return x; + } }