Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/value/MutableFrameState.java @ 2564:274360f98f97
Remove inlining (2nd part) removed IRScope
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Fri, 29 Apr 2011 13:19:17 +0200 |
parents | 4fdef1464592 |
children | cc1f1d396288 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/value/MutableFrameState.java Fri Apr 29 11:50:28 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/value/MutableFrameState.java Fri Apr 29 13:19:17 2011 +0200 @@ -24,9 +24,11 @@ import java.util.*; +import com.sun.c1x.graph.*; import com.sun.c1x.ir.*; import com.sun.c1x.util.*; import com.sun.cri.ci.*; +import com.sun.cri.ri.*; /** @@ -43,8 +45,8 @@ */ public final class MutableFrameState extends FrameState { - public MutableFrameState(IRScope irScope, int bci, int maxLocals, int maxStack) { - super(irScope, bci, maxLocals, maxStack); + public MutableFrameState(RiMethod method, int bci, int maxLocals, int maxStack) { + super(method, bci, maxLocals, maxStack); } /** @@ -328,12 +330,12 @@ * @param scope the IRScope in which this locking operation occurs * @param obj the object being locked */ - public void lock(IRScope scope, Value obj, int totalNumberOfLocks) { + public void lock(IR ir, Value obj, int totalNumberOfLocks) { if (locks == null) { locks = new ArrayList<Value>(4); } locks.add(obj); - scope.updateMaxLocks(totalNumberOfLocks); + ir.updateMaxLocks(totalNumberOfLocks); } /**