Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/graph/GraphBuilder.java @ 2796:d6bf240963fb
Rename Goto to Anchor
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Fri, 27 May 2011 11:42:16 +0200 |
parents | d3fc4fe063bf |
children | e1dad0edd57a 530366123e46 |
comparison
equal
deleted
inserted
replaced
2795:0fd105ff30f1 | 2796:d6bf240963fb |
---|---|
419 ExceptionObject exception = new ExceptionObject(graph); | 419 ExceptionObject exception = new ExceptionObject(graph); |
420 entry.appendNext(exception); | 420 entry.appendNext(exception); |
421 FrameState stateWithException = entryState.duplicateModified(bci, CiKind.Void, exception); | 421 FrameState stateWithException = entryState.duplicateModified(bci, CiKind.Void, exception); |
422 | 422 |
423 Instruction successor = createTarget(dispatchBlock, stateWithException); | 423 Instruction successor = createTarget(dispatchBlock, stateWithException); |
424 BlockEnd end = new Goto(successor, graph); | 424 BlockEnd end = new Anchor(successor, graph); |
425 exception.appendNext(end); | 425 exception.appendNext(end); |
426 | 426 |
427 if (x instanceof Invoke) { | 427 if (x instanceof Invoke) { |
428 ((Invoke) x).setExceptionEdge(entry); | 428 ((Invoke) x).setExceptionEdge(entry); |
429 } else { | 429 } else { |