Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/phases/HighTier.java @ 10009:b5c87b5c6e9c
add option to enable ahead of time compilation for hotspot (GRAAL-290)
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Wed, 12 Jun 2013 16:04:42 +0200 |
parents | eef9281ec13b |
children | 839791e70ff1 |
comparison
equal
deleted
inserted
replaced
10008:03b822ee729e | 10009:b5c87b5c6e9c |
---|---|
32 import com.oracle.graal.virtual.phases.ea.*; | 32 import com.oracle.graal.virtual.phases.ea.*; |
33 | 33 |
34 public class HighTier extends PhaseSuite<HighTierContext> { | 34 public class HighTier extends PhaseSuite<HighTierContext> { |
35 | 35 |
36 public HighTier() { | 36 public HighTier() { |
37 CanonicalizerPhase canonicalizer = new CanonicalizerPhase(OptCanonicalizeReads.getValue()); | 37 CanonicalizerPhase canonicalizer = new CanonicalizerPhase(!AOTCompilation.getValue()); |
38 | 38 |
39 if (FullUnroll.getValue()) { | 39 if (FullUnroll.getValue()) { |
40 addPhase(new LoopFullUnrollPhase(OptCanonicalizeReads.getValue())); | 40 addPhase(new LoopFullUnrollPhase(!AOTCompilation.getValue())); |
41 } | 41 } |
42 | 42 |
43 if (OptTailDuplication.getValue()) { | 43 if (OptTailDuplication.getValue()) { |
44 addPhase(new TailDuplicationPhase()); | 44 addPhase(new TailDuplicationPhase()); |
45 } | 45 } |