Ejemplo n.º 1
0
 public LLVMAssembly(
     UnqualifiedName Name,
     Version AssemblyVersion,
     IEnvironment Environment,
     LLVMAbi Abi,
     AttributeMap Attributes,
     bool IsWholeProgram)
 {
     this.Name            = Name;
     this.Abi             = Abi;
     this.ExternalAbi     = new LLVMAbi(CMangler.Instance, Abi.GarbageCollector, Abi.ExceptionHandling);
     this.AssemblyVersion = AssemblyVersion;
     this.Attributes      = Attributes;
     this.Environment     = Environment;
     this.rootNamespace   = new LLVMNamespace(new SimpleName(""), default(QualifiedName), this);
     this.IsWholeProgram  = IsWholeProgram;
 }
Ejemplo n.º 2
0
 public LLVMSymbolTypeMember(LLVMType DeclaringType, LLVMAbi Abi)
 {
     this.ParentType = DeclaringType;
     this.abiVal     = Abi.AsLazyAbi();
 }
Ejemplo n.º 3
0
 public LLVMMethod(LLVMType DeclaringType, IMethodSignatureTemplate Template, LLVMAbi Abi)
     : base(DeclaringType, Abi)
 {
     this.templateInstance  = new MethodSignatureInstance(Template, this);
     this.allInterfaceImpls = new Lazy <HashSet <LLVMMethod> >(LookupAllInterfaceImpls);
 }