Interface IStorageEntryGenerator
- All Known Implementing Classes:
CallingConvention.ArgLocationGenerator
,CallingConvention.RetLocationGenerator
public interface IStorageEntryGenerator
A generator of
routine I/O entries
to determine where a routine's inputs or
outputs go. The generators are provided by calling convention objects
.-
Method Summary
Modifier and TypeMethodDescriptionRetrieve all the currently generated entries.next
(TypeLayoutInfo ti) Generate the next entry for the provided type layout.void
reset()
Reset this generator for re-use.
-
Method Details
-
next
Generate the next entry for the provided type layout.- Parameters:
ti
- a type layout object- Returns:
- the slot, or null if the calling convention cannot provide one for this type layout at the current position
-
getCurrentEntries
List<StorageEntry> getCurrentEntries()Retrieve all the currently generated entries.- Returns:
-
reset
void reset()Reset this generator for re-use.
-