Uses of Class
org.ek9lang.compiler.phase7.generation.IRInstructionBuilder
Packages that use IRInstructionBuilder
Package
Description
IR Instruction Classes - The instruction set for EK9 intermediate representation.
-
Uses of IRInstructionBuilder in org.ek9lang.compiler.ir.instructions
Methods in org.ek9lang.compiler.ir.instructions with parameters of type IRInstructionBuilder -
Uses of IRInstructionBuilder in org.ek9lang.compiler.phase7.generation
Method parameters in org.ek9lang.compiler.phase7.generation with type arguments of type IRInstructionBuilderModifier and TypeMethodDescriptionIRGenerationContext.methodBody(String frameName, DebugInfo debugInfo, Consumer<IRInstructionBuilder> body) THE method body (IR tidy W3.4, INFRA-8): in a method frame (IRGenerationContext.inMethodFrame(String, DebugInfo, Runnable)), one builder, the body, then the entry block labelled on the frame's own counter - the operation's body. -
Uses of IRInstructionBuilder in org.ek9lang.compiler.phase7.generator
Methods in org.ek9lang.compiler.phase7.generator with parameters of type IRInstructionBuilderModifier and TypeMethodDescriptionvoidOperationBodyPlan.Step.addTo(IRInstructionBuilder builder, String bodyScopeId) Add this part's instructions.voidApplicationClose.closeOwned(IRInstructionBuilder builder, String taken, RegistrationData registration, ResourceCloser.FirstFailure firstFailure, DebugInfo debugInfo) The close of one registered component that has been taken out of the registry intotaken, inside the registration's OWN scope (the caller'sIRInstructionBuilder.inNewScope(DebugInfo, Consumer)): that scope owns the component across the close and drops it at its exit, so it is released whether the close returns, records a failure or the region is left by a Panic (V-A: never live and unowned across a call).voidOperationBodyPlan.emit(IRInstructionBuilder builder) Emit the body into the builder without labelling it - for a body whose entry block is labelled on another frame's counter (a text method's, after its method frame).OperationBodyPlan.generate(IRInstructionBuilder builder) Emit the body and make it the operation's entry block, labelled on the current frame's counter. -
Uses of IRInstructionBuilder in org.ek9lang.compiler.phase7.support
Methods in org.ek9lang.compiler.phase7.support with parameters of type IRInstructionBuilderModifier and TypeMethodDescriptionvoidCycleGuardOwner.addIfNeeded(IRConstruct construct, IScope scope, IRInstructionBuilder cInitBuilder, DebugInfo debugInfo, Ek9Types ek9Types) THE step every_c_initgenerator calls (there are two:AbstractDfnGeneratorandScenario3SourceIRGeneratorfor a developer's parameterised generic): when the type's generated operators are guarded, declare the constant on the construct and make it in the_c_initbeing built.