示例#1
0
 public void Dispose(bool disposing)
 {
     if(m_handle != null)
     {
         Native.DisposeModule(m_handle);
         m_handle = null;
     }
 }
示例#2
0
 public void Dispose(bool disposing)
 {
     if (m_handle != null)
     {
         Native.DisposeModule(m_handle);
         m_handle = null;
     }
 }
示例#3
0
        public Module(string name)
        {
            Guard.ArgumentNull(name, "name");

            m_handle = Native.ModuleCreateWithName(name);
        }
示例#4
0
        public Module(string name)
        {
            Guard.ArgumentNull(name, "name");

            m_handle = Native.ModuleCreateWithName(name);
        }
示例#5
0
 public PassManager(Module module)
 {
     Guard.ArgumentNull(module, "module");
     m_handle = Native.CreateFunctionPassManagerForModule(module.Handle);
     m_module = module.Handle;
 }
示例#6
0
 public PassManager(Module module)
 {
     Guard.ArgumentNull(module, "module");
     m_handle = Native.CreateFunctionPassManagerForModule(module.Handle);
     m_module = module.Handle;
 }