Low level PhasePosition

Mick Jordan mick.jordan at oracle.com
Mon Jun 24 10:54:26 PDT 2013


On 6/24/13 10:47 AM, ATKIN-GRANVILLE Chris wrote:
> Hi guys. Why was PhasePosition.LOW_LEVEL removed? I can't find any hints in the commit logs, nor any references to it in a current checkout of the repo. Is there a replacement for it?
>
>
I don't know exactly why LOW_LEVEL was removed, but I do know that 
PhasePlan is in the process of being phased out (sic) to be replaced 
(eventually) by custom Suites.

I used to use LOW_LEVEL and the way I worked around its demise was to 
use the appendPhase method on the PhaseSuite class, to add the phase to 
the end of  the MidTier suite, e.g.

         bootSuites = Suites.createDefaultSuites();
         PhaseSuite<MidTierContext> midTier = bootSuites.getMidTier();
         midTier.appendPhase(new MyLowLevelPhase());


Mick



More information about the graal-dev mailing list