/// <summary> /// Creates a code block that produces a pointer to the given type's vtable. /// </summary> /// <param name="CodeGenerator">The code generator that creates the block.</param> /// <param name="VTableType">The type for which a vtable pointer is to be produced.</param> public TypeVTableBlock( LLVMCodeGenerator CodeGenerator, LLVMType VTableType) { this.codeGen = CodeGenerator; this.VTableType = VTableType; }
/// <summary> /// Creates a block that produces the default value of the given struct type. /// </summary> /// <param name="CodeGenerator">The code generator that creates this block.</param> /// <param name="Type">The struct value whose default value is to be created.</param> public DefaultStructBlock(LLVMCodeGenerator CodeGenerator, LLVMType Type) { this.codeGen = CodeGenerator; this.structType = Type; }