public abstract class FrameMapBuilder extends Object
| Constructor and Description |
|---|
FrameMapBuilder() |
| Modifier and Type | Method and Description |
|---|---|
abstract VirtualStackSlot |
allocateSpillSlot(<any> kind)
Reserves a spill slot in the frame of the method being compiled.
|
abstract VirtualStackSlot |
allocateStackMemory(int sizeInBytes,
int alignmentInBytes)
Reserves a contiguous and aligned range of memory 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(CallingConvention cc)
Informs the frame map that the compiled code calls a particular method, which may need stack
space for outgoing arguments.
|
abstract CodeCacheProvider |
getCodeCache() |
abstract RegisterConfig |
getRegisterConfig() |
public abstract VirtualStackSlot allocateSpillSlot(<any> kind)
kind - The kind of the spill slot to be reserved.public abstract VirtualStackSlot allocateStackMemory(int sizeInBytes, int alignmentInBytes)
sizeInBytes - the number of bytes to reserve. Must be > 0.alignmentInBytes - the required alignment of the memory. Must be > 0, a power of 2, and
not exceed the OS stack frame alignment.public abstract RegisterConfig getRegisterConfig()
public abstract CodeCacheProvider getCodeCache()
public abstract void callsMethod(CallingConvention cc)
cc - The calling convention for the called method.public abstract FrameMap buildFrameMap(LIRGenerationResult result)