comparison graal/GraalCompiler/src/com/sun/c1x/ir/Switch.java @ 2774:93fd92c9f8b0

Removed usage of stateAfter on BlockEnd instructions.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Tue, 24 May 2011 13:39:50 +0200
parents ca31e84ff154
children 398b8fa5dc81
comparison
equal deleted inserted replaced
2773:27512ea6bbcb 2774:93fd92c9f8b0
64 * @param value the instruction that provides the value to be switched over 64 * @param value the instruction that provides the value to be switched over
65 * @param successors the list of successors of this switch 65 * @param successors the list of successors of this switch
66 * @param stateAfter the state after the switch 66 * @param stateAfter the state after the switch
67 * @param graph 67 * @param graph
68 */ 68 */
69 public Switch(Value value, List<? extends Instruction> successors, FrameState stateAfter, int inputCount, int successorCount, Graph graph) { 69 public Switch(Value value, List<? extends Instruction> successors, int inputCount, int successorCount, Graph graph) {
70 super(CiKind.Illegal, stateAfter, successors, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); 70 super(CiKind.Illegal, successors, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph);
71 setValue(value); 71 setValue(value);
72 } 72 }
73 73
74 /** 74 /**
75 * Gets the number of cases that this switch covers (excluding the default case). 75 * Gets the number of cases that this switch covers (excluding the default case).