Module org.kink_lang.kink
Class InsnsGenerator
java.lang.Object
org.kink_lang.kink.internal.compile.javaclassir.InsnsGenerator
Generates insns of doResume.
-
Constructor Summary
ConstructorDescriptionInsnsGenerator
(Vm vm, String programName, String programText, BindingGenerator bindingGen, LvarAccessGenerator lvarAccGen, MakeFastFunGenerator makeFastFunGen, LetRecGenerator letRecGen, ControlGenerator controlGen, KeyStrSupplier keySup, TraceAccumulator traceAccum, ProgramCounterSupplier pcSup, ChildJcirAccumulator jcirAccum) Constructs a generator. -
Method Summary
-
Constructor Details
-
InsnsGenerator
public InsnsGenerator(Vm vm, String programName, String programText, BindingGenerator bindingGen, LvarAccessGenerator lvarAccGen, MakeFastFunGenerator makeFastFunGen, LetRecGenerator letRecGen, ControlGenerator controlGen, KeyStrSupplier keySup, TraceAccumulator traceAccum, ProgramCounterSupplier pcSup, ChildJcirAccumulator jcirAccum) Constructs a generator.- Parameters:
vm
- the vm.programName
- the program name.programText
- the program text.bindingGen
- generates the binding of the fun call.lvarAccGen
- generates lvar access insns.makeFastFunGen
- generates make-ssa-fun insns.letRecGen
- generates letrec insns.controlGen
- generates control insns.keySup
- the key str supplier.traceAccum
- the trace accumulator.pcSup
- the program counter supplier.jcirAccum
- the accumulator of child JavaClassIr factories.
-
-
Method Details