comparison graal/GraalCompiler/src/com/sun/c1x/graph/IR.java @ 2756:bfcdda4fdd73

Removed the direct connection between BlockBegin and BlockEnd.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Fri, 20 May 2011 14:51:45 +0200
parents 0fe79e7435c3
children b72e6638b9e6
comparison
equal deleted inserted replaced
2754:e91608c2daff 2756:bfcdda4fdd73
198 BlockBegin newSucc = new BlockBegin(bci, nextBlockNumber(), compilation.graph); 198 BlockBegin newSucc = new BlockBegin(bci, nextBlockNumber(), compilation.graph);
199 199
200 // This goto is not a safepoint. 200 // This goto is not a safepoint.
201 Goto e = new Goto(target, null, compilation.graph); 201 Goto e = new Goto(target, null, compilation.graph);
202 newSucc.appendNext(e); 202 newSucc.appendNext(e);
203 newSucc.setEnd(e);
204 e.reorderSuccessor(0, backEdgeIndex); 203 e.reorderSuccessor(0, backEdgeIndex);
205 // setup states 204 // setup states
206 FrameState s = source.end().stateAfter(); 205 FrameState s = source.end().stateAfter();
207 newSucc.setStateBefore(s); 206 newSucc.setStateBefore(s);
208 e.setStateAfter(s); 207 e.setStateAfter(s);