comparison graal/GraalCompiler/src/com/sun/c1x/ir/Phi.java @ 2582:768d77a1c7af

new node layout: Instruction
author Lukas Stadler <lukas.stadler@jku.at>
date Thu, 05 May 2011 13:47:14 +0200
parents 4a36a0bd6d18
children 01c5c0443158
comparison
equal deleted inserted replaced
2581:4a36a0bd6d18 2582:768d77a1c7af
123 123
124 /** 124 /**
125 * Get the number of inputs to this phi (i.e. the number of predecessors to the join block). 125 * Get the number of inputs to this phi (i.e. the number of predecessors to the join block).
126 * @return the number of inputs in this phi 126 * @return the number of inputs in this phi
127 */ 127 */
128 @Override 128 public int phiInputCount() {
129 public int inputCount() {
130 if (block.isExceptionEntry()) { 129 if (block.isExceptionEntry()) {
131 return block.exceptionHandlerStates().size(); 130 return block.exceptionHandlerStates().size();
132 } else { 131 } else {
133 return block.blockPredecessors().size(); 132 return block.blockPredecessors().size();
134 } 133 }