use of org.graalvm.compiler.phases.common.inlining.info.InlineInfo in project graal by oracle.
the class InliningData method pushInvocationAndGraphs.
private void pushInvocationAndGraphs(MethodInvocation methodInvocation) {
invocationQueue.addFirst(methodInvocation);
InlineInfo info = methodInvocation.callee();
maxGraphs += info.numberOfMethods();
assert graphQueue.size() <= maxGraphs;
for (int i = 0; i < info.numberOfMethods(); i++) {
CallsiteHolder ch = methodInvocation.buildCallsiteHolderForElement(i);
assert !contains(ch.graph());
graphQueue.push(ch);
assert graphQueue.size() <= maxGraphs;
}
}
Aggregations