Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/ir/MonitorEnter.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 MonitorEnter} instruction represents the acquisition of a monitor. | 29 * The {@code MonitorEnter} instruction represents the acquisition of a monitor. |
31 */ | 30 */ |
32 public final class MonitorEnter extends AccessMonitor { | 31 public final class MonitorEnter extends AccessMonitor { |
47 * @param lockAddress the address of the on-stack lock object or {@code null} if the runtime does not place locks on the stack | 46 * @param lockAddress the address of the on-stack lock object or {@code null} if the runtime does not place locks on the stack |
48 * @param lockNumber the number of the lock | 47 * @param lockNumber the number of the lock |
49 * @param stateAfter the state after | 48 * @param stateAfter the state after |
50 * @param graph | 49 * @param graph |
51 */ | 50 */ |
52 public MonitorEnter(Value object, Value lockAddress, int lockNumber, FrameState stateAfter, Graph graph) { | 51 public MonitorEnter(Value object, Value lockAddress, int lockNumber, Graph graph) { |
53 super(object, lockAddress, stateAfter, lockNumber, INPUT_COUNT, SUCCESSOR_COUNT, graph); | 52 super(object, lockAddress, lockNumber, INPUT_COUNT, SUCCESSOR_COUNT, graph); |
54 } | 53 } |
55 | 54 |
56 @Override | 55 @Override |
57 public void accept(ValueVisitor v) { | 56 public void accept(ValueVisitor v) { |
58 v.visitMonitorEnter(this); | 57 v.visitMonitorEnter(this); |