comparison graal/GraalCompiler/src/com/sun/c1x/ir/AccessMonitor.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
83 * @param lockNumber the number of the lock being acquired 83 * @param lockNumber the number of the lock being acquired
84 * @param inputCount 84 * @param inputCount
85 * @param successorCount 85 * @param successorCount
86 * @param graph 86 * @param graph
87 */ 87 */
88 public AccessMonitor(Value object, Value lockAddress, FrameState stateBefore, int lockNumber, int inputCount, int successorCount, Graph graph) { 88 public AccessMonitor(Value object, Value lockAddress, FrameState stateAfter, int lockNumber, int inputCount, int successorCount, Graph graph) {
89 super(CiKind.Illegal, stateBefore, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); 89 super(CiKind.Illegal, stateAfter, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph);
90 this.lockNumber = lockNumber; 90 this.lockNumber = lockNumber;
91 setObject(object); 91 setObject(object);
92 setLockAddress(lockAddress); 92 setLockAddress(lockAddress);
93 } 93 }
94 } 94 }