Class LabelInstr
java.lang.Object
org.ek9lang.compiler.ir.instructions.IRInstr
org.ek9lang.compiler.ir.instructions.LabelInstr
-
Method Summary
Modifier and TypeMethodDescriptionaddOperand
(String operand) Add operand to this instruction.Get the label name for this label instruction.static LabelInstr
Create label instruction: LABEL label_name.static LabelInstr
Create label instruction with debug info: LABEL label_name.toString()
Methods inherited from class org.ek9lang.compiler.ir.instructions.IRInstr
accept, addOperands, equals, getDebugInfo, getEscapeMetaData, getOpcode, getOperands, getResult, hasEscapeMetaData, hashCode, hasResult, isControlFlow, isLabel, isMemoryManagement, isMethodCall, setEscapeMetaData
-
Method Details
-
label
Create label instruction: LABEL label_name. -
label
Create label instruction with debug info: LABEL label_name. -
addOperand
Description copied from class:IRInstr
Add operand to this instruction.- Overrides:
addOperand
in classIRInstr
-
getLabelName
Get the label name for this label instruction. -
toString
-