harpoon.Analysis.Instr
Interface RegAlloc.IntermediateCodeFactory
- All Superinterfaces:
- HCodeFactory
- Enclosing class:
- RegAlloc
public static interface RegAlloc.IntermediateCodeFactory
- extends HCodeFactory
IntermediateCodeFactory is an HCodeFactory that is guaranteed
to produce IntermediateCode
s. If the Java
langaguage supported covariant return types, we would be able
to enforce this constraint in the lanuage, but for now we are
forced to rely on enforcing the constraint through
specification alone. FSK is just keeping the interface around
because its make things confusing to go and remove all of the
references to IntermediateCodeFactory from Karen's code.
convert
HCode convert(HMethod m)
- The
HCode
s returned by this method are
guaranteed to implement the IntermediateCode
interface.
- Specified by:
convert
in interface HCodeFactory