comparison graal/GraalCompiler/src/com/sun/c1x/ir/MonitorExit.java @ 2622:91d3952f7eb7

Framestate work : using stateAFter and reducting the number of nodes with framestates. Intermediate state (does not pass tests)
author Gilles Duboscq <gilles.duboscq@oracle.com>
date Tue, 10 May 2011 12:37:46 +0200
parents 1c36b17f7ee0
children 569228710be8
comparison
equal deleted inserted replaced
2621:dd115f80acf8 2622:91d3952f7eb7
38 * Creates a new MonitorExit instruction. 38 * Creates a new MonitorExit instruction.
39 * 39 *
40 * @param object the instruction produces the object value 40 * @param object the instruction produces the object value
41 * @param lockAddress the address of the on-stack lock object or {@code null} if the runtime does not place locks on the stack 41 * @param lockAddress the address of the on-stack lock object or {@code null} if the runtime does not place locks on the stack
42 * @param lockNumber the number of the lock 42 * @param lockNumber the number of the lock
43 * @param stateBefore the state before executing this instruction 43 * @param stateBefore the state after executing this instruction
44 * @param graph 44 * @param graph
45 */ 45 */
46 public MonitorExit(Value object, Value lockAddress, int lockNumber, FrameState stateBefore, Graph graph) { 46 public MonitorExit(Value object, Value lockAddress, int lockNumber, FrameState stateAfter, Graph graph) {
47 super(object, lockAddress, stateBefore, lockNumber, INPUT_COUNT, SUCCESSOR_COUNT, graph); 47 super(object, lockAddress, stateAfter, lockNumber, INPUT_COUNT, SUCCESSOR_COUNT, graph);
48 } 48 }
49 49
50 @Override 50 @Override
51 public void accept(ValueVisitor v) { 51 public void accept(ValueVisitor v) {
52 v.visitMonitorExit(this); 52 v.visitMonitorExit(this);