Mercurial > hg > truffle
comparison graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/phases/InliningPhase.java @ 4670:41034914e2ee
add MethodContents assumption to fix debbugging issue
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 22 Feb 2012 17:04:27 +0100 |
parents | 6a44a26ed9e6 |
children | 7167f487cc31 |
comparison
equal
deleted
inserted
replaced
4669:a6d18567b2ff | 4670:41034914e2ee |
---|---|
195 @Override | 195 @Override |
196 public void recordConcreteMethodAssumption(RiResolvedMethod method, RiResolvedType context, RiResolvedMethod impl) { | 196 public void recordConcreteMethodAssumption(RiResolvedMethod method, RiResolvedType context, RiResolvedMethod impl) { |
197 assumptions.recordConcreteMethod(method, context, impl); | 197 assumptions.recordConcreteMethod(method, context, impl); |
198 } | 198 } |
199 | 199 |
200 @Override | |
201 public void recordMethodContentsAssumption(RiResolvedMethod method) { | |
202 assumptions.recordMethodContents(method); | |
203 } | |
204 | |
200 private static int computeInliningLevel(Invoke invoke) { | 205 private static int computeInliningLevel(Invoke invoke) { |
201 int count = 0; | 206 int count = 0; |
202 FrameState curState = invoke.stateAfter(); | 207 FrameState curState = invoke.stateAfter(); |
203 while (curState != null) { | 208 while (curState != null) { |
204 count++; | 209 count++; |