Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java @ 2715:3ac3dd97d8df
Added ExceptionEdgeInstruction interface.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Thu, 19 May 2011 13:21:31 +0200 |
parents | 95e2aa413d95 |
children | c1a9bf38da28 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java Thu May 19 13:14:02 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java Thu May 19 13:21:31 2011 +0200 @@ -1066,7 +1066,7 @@ throw new CiBailout("Method and/or inlining is too large"); } - if (x instanceof Invoke || x instanceof Throw) { + if (x instanceof ExceptionEdgeInstruction) { // connect the instruction to any exception handlers handleException(x, bci); }