Mosa.Compiler.Framework.Context.AddBranchTarget C# (CSharp) Метод

AddBranchTarget() публичный Метод

Sets the branch target.
public AddBranchTarget ( BasicBlock block ) : void
block BasicBlock The basic block.
Результат void
        public void AddBranchTarget(BasicBlock block)
        {
            Node.AddBranchTarget(block);
        }

Usage Example

Пример #1
0
        private static void PatchBeginInvoke(BaseMethodCompiler methodCompiler)
        {
            var nullOperand = Operand.GetNull(methodCompiler.TypeSystem);

            var context = new Context(CreateMethodStructure(methodCompiler, true));
            context.AppendInstruction(IRInstruction.Return, null, nullOperand);
            context.AddBranchTarget(methodCompiler.BasicBlocks.EpilogueBlock);
        }
All Usage Examples Of Mosa.Compiler.Framework.Context::AddBranchTarget