Mercurial > hg > truffle
changeset 19077:3dd21f7125e9
LSStackSlotAllocator: fix typos.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Fri, 30 Jan 2015 15:30:33 +0100 |
parents | 76dd59e530b2 |
children | 5447a27a6fd7 |
files | graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/LSStackSlotAllocator.java |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/LSStackSlotAllocator.java Fri Jan 30 15:23:32 2015 +0100 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/stackslotalloc/LSStackSlotAllocator.java Fri Jan 30 15:30:33 2015 +0100 @@ -93,7 +93,6 @@ long currentFrameSize = Debug.isMeterEnabled() ? frameMapBuilder.getFrameMap().currentFrameSize() : 0; // build intervals - // buildIntervals(); try (Scope s = Debug.scope("StackSlotAllocationBuildIntervals"); Indent indent = Debug.logAndIndent("BuildIntervals")) { buildIntervalsSlow(); } @@ -240,7 +239,6 @@ // kills op.visitEachTemp(this::defConsumer); op.visitEachOutput(this::defConsumer); - // forEachDestroyedCallerSavedRegister(op, this::defConsumer); // gen - values that are considered alive for this state op.visitEachAlive(this::useConsumer); @@ -395,7 +393,7 @@ StackSlotAllocator.virtualFramesize.add(frameMapBuilder.getFrameMap().spillSlotRangeSize(slotRange.getSlots())); StackSlotAllocator.allocatedSlots.increment(); } else { - assert virtualSlot instanceof SimpleVirtualStackSlot : "Unexpexted VirtualStackSlot type: " + virtualSlot; + assert virtualSlot instanceof SimpleVirtualStackSlot : "Unexpected VirtualStackSlot type: " + virtualSlot; StackSlot slot = findFreeSlot((SimpleVirtualStackSlot) virtualSlot); if (slot != null) { /* @@ -473,7 +471,7 @@ for (int id = next.from(); activePeekId() < id;) { finished(active.pollFirst()); } - Debug.log("activte %s", next); + Debug.log("active %s", next); insertSortedByTo(next); return next; }