comparison graal/GraalCompiler/src/com/sun/c1x/ir/AccessMonitor.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
comparison
equal deleted inserted replaced
2623:b129b7da1397 2628:569228710be8
21 * questions. 21 * questions.
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.value.*;
27 import com.sun.cri.ci.*; 26 import com.sun.cri.ci.*;
28 27
29 /** 28 /**
30 * The {@code AccessMonitor} instruction is the base class of both monitor acquisition and release. 29 * The {@code AccessMonitor} instruction is the base class of both monitor acquisition and release.
31 */ 30 */
83 * @param lockNumber the number of the lock being acquired 82 * @param lockNumber the number of the lock being acquired
84 * @param inputCount 83 * @param inputCount
85 * @param successorCount 84 * @param successorCount
86 * @param graph 85 * @param graph
87 */ 86 */
88 public AccessMonitor(Value object, Value lockAddress, FrameState stateAfter, int lockNumber, int inputCount, int successorCount, Graph graph) { 87 public AccessMonitor(Value object, Value lockAddress, int lockNumber, int inputCount, int successorCount, Graph graph) {
89 super(CiKind.Illegal, stateAfter, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); 88 super(CiKind.Illegal, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph);
90 this.lockNumber = lockNumber; 89 this.lockNumber = lockNumber;
91 setObject(object); 90 setObject(object);
92 setLockAddress(lockAddress); 91 setLockAddress(lockAddress);
93 } 92 }
94 } 93 }