Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/ir/Switch.java @ 2750:6048da340364
less references to BlockBegin in BlockEnd instructions
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Fri, 20 May 2011 14:22:19 +0200 |
parents | a3cd5eb68837 |
children | ca31e84ff154 |
comparison
equal
deleted
inserted
replaced
2749:36440e516e44 | 2750:6048da340364 |
---|---|
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 isSafepoint {@code true} if this switch is a safepoint | 67 * @param isSafepoint {@code true} if this switch is a safepoint |
68 * @param graph | 68 * @param graph |
69 */ | 69 */ |
70 public Switch(Value value, List<BlockBegin> successors, FrameState stateAfter, int inputCount, int successorCount, Graph graph) { | 70 public Switch(Value value, List<? extends Instruction> successors, FrameState stateAfter, int inputCount, int successorCount, Graph graph) { |
71 super(CiKind.Illegal, stateAfter, successors, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); | 71 super(CiKind.Illegal, stateAfter, successors, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); |
72 setValue(value); | 72 setValue(value); |
73 } | 73 } |
74 | 74 |
75 /** | 75 /** |