Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/ir/MonitorExit.java @ 2628:569228710be8
More FrameState work
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Tue, 10 May 2011 16:49:50 +0200 |
parents | 91d3952f7eb7 |
children | bd17ac598c6e |
comparison
equal
deleted
inserted
replaced
2623:b129b7da1397 | 2628:569228710be8 |
---|---|
22 */ | 22 */ |
23 package com.sun.c1x.ir; | 23 package com.sun.c1x.ir; |
24 | 24 |
25 import com.oracle.graal.graph.*; | 25 import com.oracle.graal.graph.*; |
26 import com.sun.c1x.debug.*; | 26 import com.sun.c1x.debug.*; |
27 import com.sun.c1x.value.*; | |
28 | 27 |
29 /** | 28 /** |
30 * The {@code MonitorExit} instruction represents a monitor release. | 29 * The {@code MonitorExit} instruction represents a monitor release. |
31 */ | 30 */ |
32 public final class MonitorExit extends AccessMonitor { | 31 public final class MonitorExit extends AccessMonitor { |
41 * @param lockAddress the address of the on-stack lock object or {@code null} if the runtime does not place locks on the stack | 40 * @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 | 41 * @param lockNumber the number of the lock |
43 * @param stateBefore the state after executing this instruction | 42 * @param stateBefore the state after executing this instruction |
44 * @param graph | 43 * @param graph |
45 */ | 44 */ |
46 public MonitorExit(Value object, Value lockAddress, int lockNumber, FrameState stateAfter, Graph graph) { | 45 public MonitorExit(Value object, Value lockAddress, int lockNumber, Graph graph) { |
47 super(object, lockAddress, stateAfter, lockNumber, INPUT_COUNT, SUCCESSOR_COUNT, graph); | 46 super(object, lockAddress, lockNumber, INPUT_COUNT, SUCCESSOR_COUNT, graph); |
48 } | 47 } |
49 | 48 |
50 @Override | 49 @Override |
51 public void accept(ValueVisitor v) { | 50 public void accept(ValueVisitor v) { |
52 v.visitMonitorExit(this); | 51 v.visitMonitorExit(this); |