comparison graal/GraalCompiler/src/com/sun/c1x/ir/Throw.java @ 2783:9bc0c2eb00d6

Made graph builder removal of BlockBegin work.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 25 May 2011 12:04:58 +0200
parents bda5972a40a5
children bd17ac598c6e
comparison
equal deleted inserted replaced
2782:915456e4959e 2783:9bc0c2eb00d6
74 /** 74 /**
75 * The entry to the exception dispatch chain for this throw. 75 * The entry to the exception dispatch chain for this throw.
76 * TODO ls: this needs more cleanup - throw should either unwind or jump to the exception dispatch chain 76 * TODO ls: this needs more cleanup - throw should either unwind or jump to the exception dispatch chain
77 */ 77 */
78 @Override 78 @Override
79 public StateSplit exceptionEdge() { 79 public Instruction exceptionEdge() {
80 return (StateSplit) successors().get(super.successorCount() + SUCCESSOR_EXCEPTION_EDGE); 80 return (Instruction) successors().get(super.successorCount() + SUCCESSOR_EXCEPTION_EDGE);
81 } 81 }
82 82
83 public Instruction setExceptionEdge(Instruction n) { 83 public Instruction setExceptionEdge(Instruction n) {
84 return (Instruction) successors().set(super.successorCount() + SUCCESSOR_EXCEPTION_EDGE, n); 84 return (Instruction) successors().set(super.successorCount() + SUCCESSOR_EXCEPTION_EDGE, n);
85 } 85 }