Exemple #1
0
        //private Dictionary<MethodReference, MethodData> _methods;

        public Module(ModuleDefinition cilModule, string target)
        {
            this._cilModule             = cilModule;
            this._target                = target;
            this._llModule              = new LLVM.Module(cilModule.Name);
            this._llModule.TargetTriple = target;
            CLR.Initialize(this._llModule);

            _types = new Dictionary <TypeReference, Type>();
            //_methods = new Dictionary<MethodReference, MethodData>();
        }