Mercurial > hg > graal-compiler
changeset 19085:cdff121aeedf
LSStackSlotAllocator: rename SlowIntervalBuilder to FixPointIntervalBuilder.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Sat, 31 Jan 2015 11:32:38 +0100 |
parents | 8e1c9c73ce24 |
children | 82c4efba4db4 |
files | graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/LSStackSlotAllocator.java |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/LSStackSlotAllocator.java Sat Jan 31 11:30:44 2015 +0100 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/LSStackSlotAllocator.java Sat Jan 31 11:32:38 2015 +0100 @@ -95,7 +95,7 @@ long currentFrameSize = Debug.isMeterEnabled() ? frameMapBuilder.getFrameMap().currentFrameSize() : 0; // build intervals try (Scope s = Debug.scope("StackSlotAllocationBuildIntervals"); Indent indent = Debug.logAndIndent("BuildIntervals")) { - buildIntervalsSlow(); + buildIntervals(); } if (Debug.isEnabled()) { verifyIntervals(); @@ -115,21 +115,21 @@ StackSlotAllocator.allocatedFramesize.add(frameMapBuilder.getFrameMap().currentFrameSize() - currentFrameSize); } - private void buildIntervalsSlow() { - new SlowIntervalBuilder(lir, stackSlotMap, maxOpId()).build(); + private void buildIntervals() { + new FixPointIntervalBuilder(lir, stackSlotMap, maxOpId()).build(); } /** * Calculates the stack intervals using a worklist-based backwards data-flow analysis. */ - private static final class SlowIntervalBuilder { + private static final class FixPointIntervalBuilder { private final BlockMap<BitSet> liveInMap; private final BlockMap<BitSet> liveOutMap; private final LIR lir; private final int maxOpId; private final StackInterval[] stackSlotMap; - private SlowIntervalBuilder(LIR lir, StackInterval[] stackSlotMap, int maxOpId) { + private FixPointIntervalBuilder(LIR lir, StackInterval[] stackSlotMap, int maxOpId) { this.lir = lir; this.stackSlotMap = stackSlotMap; this.maxOpId = maxOpId;