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 IntermediateCodes. 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.


Method Summary
 HCode convert(HMethod m)
          The HCodes returned by this method are guaranteed to implement the IntermediateCode interface.
 
Methods inherited from interface harpoon.ClassFile.HCodeFactory
clear, getCodeName
 

Method Detail

convert

HCode convert(HMethod m)
The HCodes returned by this method are guaranteed to implement the IntermediateCode interface.

Specified by:
convert in interface HCodeFactory