public abstract class FrameMapBuilder extends Object
Constructor and Description |
---|
FrameMapBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract VirtualStackSlot |
allocateSpillSlot(jdk.vm.ci.meta.ValueKind<?> kind)
Reserves a spill slot in the frame of the method being compiled.
|
abstract VirtualStackSlot |
allocateStackSlots(int slots)
Reserves a number of contiguous slots in the frame of the method being compiled.
|
abstract FrameMap |
buildFrameMap(LIRGenerationResult result)
Creates a FrameMap based on the information collected by this
FrameMapBuilder.
|
abstract void |
callsMethod(jdk.vm.ci.code.CallingConvention cc)
Informs the frame map that the compiled code calls a particular method, which may need stack
space for outgoing arguments.
|
abstract jdk.vm.ci.code.CodeCacheProvider |
getCodeCache() |
abstract jdk.vm.ci.code.RegisterConfig |
getRegisterConfig() |
public abstract VirtualStackSlot allocateSpillSlot(jdk.vm.ci.meta.ValueKind<?> kind)
kind
- The kind of the spill slot to be reserved.public abstract VirtualStackSlot allocateStackSlots(int slots)
null
.slots
- the number of slots to reservepublic abstract jdk.vm.ci.code.RegisterConfig getRegisterConfig()
public abstract jdk.vm.ci.code.CodeCacheProvider getCodeCache()
public abstract void callsMethod(jdk.vm.ci.code.CallingConvention cc)
cc
- The calling convention for the called method.public abstract FrameMap buildFrameMap(LIRGenerationResult result)