Exemple #1
0
        public LlvmBuilder(LlvmBlock block, LLVMBuilderRef reference) : base(reference)
        {
            this.Block        = block;
            this.instructions = new List <LlvmValue>();

            // Position the builder if applicable.
            if (this.HasBlock)
            {
                this.PositionAtEnd();
            }
        }
Exemple #2
0
 public LlvmBuilder(LlvmBlock block) : this(block, LLVM.CreateBuilder())
 {
     //
 }