# HG changeset patch # User Lukas Stadler # Date 1371220202 -7200 # Node ID 215a4291e387f92d57ce766e3fe2847d9ec1caba # Parent 55bf0dc8e28109bc2ef68f76f4f88c291ff0e2b6 add InliningPhase constructor with explicit InliningPolicy diff -r 55bf0dc8e281 -r 215a4291e387 graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/InliningPhase.java --- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/InliningPhase.java Fri Jun 14 16:28:10 2013 +0200 +++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/InliningPhase.java Fri Jun 14 16:30:02 2013 +0200 @@ -91,6 +91,16 @@ this.optimisticOpts = optimisticOpts; } + public InliningPhase(MetaAccessProvider runtime, Replacements replacements, Assumptions assumptions, GraphCache cache, PhasePlan plan, OptimisticOptimizations optimisticOpts, InliningPolicy policy) { + this.runtime = runtime; + this.replacements = replacements; + this.compilationAssumptions = assumptions; + this.cache = cache; + this.plan = plan; + this.inliningPolicy = policy; + this.optimisticOpts = optimisticOpts; + } + public void setCustomCanonicalizer(CustomCanonicalizer customCanonicalizer) { this.customCanonicalizer = customCanonicalizer; }