# HG changeset patch # User Josef Eisl # Date 1421167858 -3600 # Node ID f585f067d78e4057e2474ef973c75b5dab408bf7 # Parent d80301977c5efd9bcb65c087f7ec486535bde2e8 Make FrameMap allocation methods and VirtualStackSlot visible. diff -r d80301977c5e -r f585f067d78e graal/com.oracle.graal.lir/src/com/oracle/graal/lir/framemap/FrameMap.java --- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/framemap/FrameMap.java Tue Jan 13 17:43:04 2015 +0100 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/framemap/FrameMap.java Tue Jan 13 17:50:58 2015 +0100 @@ -256,7 +256,7 @@ * @param kind The kind of the spill slot to be reserved. * @return A spill slot denoting the reserved memory area. */ - protected StackSlot allocateSpillSlot(LIRKind kind) { + public StackSlot allocateSpillSlot(LIRKind kind) { assert frameSize == -1 : "frame size must not yet be fixed"; int size = spillSlotSize(kind); spillSize = NumUtil.roundUp(spillSize + size, size); @@ -284,7 +284,7 @@ * collector could see garbage object values. * @return the first reserved stack slot (i.e., at the lowest address) */ - protected StackSlot allocateStackSlots(int slots, BitSet objects) { + public StackSlot allocateStackSlots(int slots, BitSet objects) { assert frameSize == -1 : "frame size must not yet be fixed"; if (slots == 0) { return null; diff -r d80301977c5e -r f585f067d78e graal/com.oracle.graal.lir/src/com/oracle/graal/lir/framemap/SimpleVirtualStackSlot.java --- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/framemap/SimpleVirtualStackSlot.java Tue Jan 13 17:43:04 2015 +0100 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/framemap/SimpleVirtualStackSlot.java Tue Jan 13 17:50:58 2015 +0100 @@ -28,7 +28,7 @@ /** * Represents a {@link VirtualStackSlot virtual stack slot} for a specific {@link LIRKind kind}. */ -class SimpleVirtualStackSlot extends VirtualStackSlot { +public class SimpleVirtualStackSlot extends VirtualStackSlot { private static final long serialVersionUID = 7654295701165421750L; diff -r d80301977c5e -r f585f067d78e graal/com.oracle.graal.lir/src/com/oracle/graal/lir/framemap/VirtualStackSlotRange.java --- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/framemap/VirtualStackSlotRange.java Tue Jan 13 17:43:04 2015 +0100 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/framemap/VirtualStackSlotRange.java Tue Jan 13 17:50:58 2015 +0100 @@ -31,7 +31,7 @@ * Represents a {@link #getSlots() numbered} range of {@link VirtualStackSlot virtual stack slot} of * size {@link TargetDescription#wordSize}. */ -class VirtualStackSlotRange extends VirtualStackSlot { +public class VirtualStackSlotRange extends VirtualStackSlot { private static final long serialVersionUID = 5152592950118317121L; private final BitSet objects;