comparison 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
comparison
equal deleted inserted replaced
2714:e235eb9e7b54 2715:3ac3dd97d8df
1064 if (++stats.nodeCount >= C1XOptions.MaximumInstructionCount) { 1064 if (++stats.nodeCount >= C1XOptions.MaximumInstructionCount) {
1065 // bailout if we've exceeded the maximum inlining size 1065 // bailout if we've exceeded the maximum inlining size
1066 throw new CiBailout("Method and/or inlining is too large"); 1066 throw new CiBailout("Method and/or inlining is too large");
1067 } 1067 }
1068 1068
1069 if (x instanceof Invoke || x instanceof Throw) { 1069 if (x instanceof ExceptionEdgeInstruction) {
1070 // connect the instruction to any exception handlers 1070 // connect the instruction to any exception handlers
1071 handleException(x, bci); 1071 handleException(x, bci);
1072 } 1072 }
1073 1073
1074 return x; 1074 return x;