Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/gen/LIRGenerator.java @ 2781:bda5972a40a5
remove unnecessary BlockBegin nodes in frontend
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Tue, 24 May 2011 15:31:52 +0200 |
parents | 3b73b230b86b |
children | 915456e4959e |
comparison
equal
deleted
inserted
replaced
2776:398b8fa5dc81 | 2781:bda5972a40a5 |
---|---|
1460 } | 1460 } |
1461 | 1461 |
1462 assert state != null; | 1462 assert state != null; |
1463 LIRBlock exceptionEdge = null; | 1463 LIRBlock exceptionEdge = null; |
1464 if (x instanceof ExceptionEdgeInstruction) { | 1464 if (x instanceof ExceptionEdgeInstruction) { |
1465 BlockBegin begin = ((ExceptionEdgeInstruction) x).exceptionEdge(); | 1465 Instruction begin = ((ExceptionEdgeInstruction) x).exceptionEdge(); |
1466 if (begin != null) { | 1466 if (begin != null) { |
1467 exceptionEdge = getLIRBlock(begin); | 1467 exceptionEdge = getLIRBlock(begin); |
1468 } | 1468 } |
1469 } | 1469 } |
1470 return new LIRDebugInfo(state, exceptionEdge); | 1470 return new LIRDebugInfo(state, exceptionEdge); |