Jurassic.Compiler.DynamicILGenerator.BranchCore C# (CSharp) Method

BranchCore() private method

Unconditionally branches to the given label.
private BranchCore ( ILLabel label, byte opCode ) : void
label ILLabel The label to branch to.
opCode byte The one-byte operation identifier.
return void
        private void BranchCore(ILLabel label, byte opCode)
        {
            // Emit the branch opcode.
            Emit1ByteOpCode(opCode, 0, 0);

            // Emit the label.
            EmitLabel(label, this.offset + 4);

            // This is an unconditional branch.
            UnconditionalBranch();
        }

Same methods

DynamicILGenerator::BranchCore ( ILLabel label, byte opCode, ComparisonOperator @operator ) : void
DynamicILGenerator::BranchCore ( ILLabel label, byte opCode, VESType operandType ) : void
DynamicILGenerator