comparison graal/GraalCompiler/src/com/sun/c1x/ir/TableSwitch.java @ 2741:a3cd5eb68837

more GraphBuilder cleanup, moved mergeOrClone to GraphBuilder
author Lukas Stadler <lukas.stadler@jku.at>
date Fri, 20 May 2011 11:11:33 +0200
parents a0dd2b907806
children 6048da340364
comparison
equal deleted inserted replaced
2736:03b80fb10ae9 2741:a3cd5eb68837
43 /** 43 /**
44 * Constructs a new TableSwitch instruction. 44 * Constructs a new TableSwitch instruction.
45 * @param value the instruction producing the value being switched on 45 * @param value the instruction producing the value being switched on
46 * @param successors the list of successors 46 * @param successors the list of successors
47 * @param lowKey the lowest integer key in the table 47 * @param lowKey the lowest integer key in the table
48 * @param stateBefore the state before the switch 48 * @param stateAfter the state after the switch
49 * @param isSafepoint {@code true} if this instruction is a safepoint 49 * @param isSafepoint {@code true} if this instruction is a safepoint
50 * @param graph 50 * @param graph
51 */ 51 */
52 public TableSwitch(Value value, List<BlockBegin> successors, int lowKey, FrameState stateBefore, Graph graph) { 52 public TableSwitch(Value value, List<BlockBegin> successors, int lowKey, FrameState stateAfter, Graph graph) {
53 super(value, successors, stateBefore, INPUT_COUNT, SUCCESSOR_COUNT, graph); 53 super(value, successors, stateAfter, INPUT_COUNT, SUCCESSOR_COUNT, graph);
54 this.lowKey = lowKey; 54 this.lowKey = lowKey;
55 } 55 }
56 56
57 /** 57 /**
58 * Gets the lowest key in the table switch (inclusive). 58 * Gets the lowest key in the table switch (inclusive).