comparison graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java @ 2694:773189811d10

Removed dominator calculation.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 18 May 2011 14:40:29 +0200
parents bcbda467e1ae
children d06cff53b77e
comparison
equal deleted inserted replaced
2693:bcbda467e1ae 2694:773189811d10
157 // return Collections.unmodifiableList(predecessors); 157 // return Collections.unmodifiableList(predecessors);
158 return predecessors; 158 return predecessors;
159 } 159 }
160 160
161 /** 161 /**
162 * Gets the dominator of this block.
163 * @return the dominator block
164 */
165 public BlockBegin dominator() {
166 return dominator;
167 }
168
169 /**
170 * Sets the dominator block for this block. 162 * Sets the dominator block for this block.
171 * @param dominator the dominator for this block 163 * @param dominator the dominator for this block
172 */ 164 */
173 public void setDominator(BlockBegin dominator) { 165 public void setDominator(BlockBegin dominator) {
174 this.dominator = dominator; 166 this.dominator = dominator;
715 out.print(" (xhandlers"); 707 out.print(" (xhandlers");
716 for (BlockBegin handler : exceptionHandlerBlocks()) { 708 for (BlockBegin handler : exceptionHandlerBlocks()) {
717 out.print(" B").print(handler.blockID); 709 out.print(" B").print(handler.blockID);
718 } 710 }
719 out.print(')'); 711 out.print(')');
720 }
721
722 // print dominator block
723 if (dominator() != null) {
724 out.print(" dom B").print(dominator().blockID);
725 } 712 }
726 713
727 // print predecessors 714 // print predecessors
728 if (!blockPredecessors().isEmpty()) { 715 if (!blockPredecessors().isEmpty()) {
729 out.print(" pred:"); 716 out.print(" pred:");