private void dequeueInlinedCallSites(TruffleInlining parentDecision) { for (TruffleInliningDecision decision : parentDecision) { if (decision.isInline()) { OptimizedCallTarget target = decision.getTarget(); target.cancelInstalledTask( decision.getProfile().getCallNode(), "Inlining caller compiled."); dequeueInlinedCallSites(decision); } } }
public void notifyCompilationFinished(boolean successful) { if (successful && inlining != null) { dequeueInlinedCallSites(inlining); } setCompilationTask(null); }