コード例 #1
0
ファイル: func_FuncStruct.cs プロジェクト: zjmit/go2cs
 public Func(ref ptr <Config> Config = default, ref ptr <Cache> Cache = default, Frontend fe = default, ref ptr <pass> pass = default, @string Name = default, ref ptr <types.Type> Type = default, slice <ptr <Block> > Blocks = default, ref ptr <Block> Entry = default, ref ptr <Value> LastDeferExit = default, idAlloc bid = default, idAlloc vid = default, map <@string, writeSyncer> logfiles = default, ref ptr <HTMLWriter> HTMLWriter = default, bool DebugTest = default, bool PrintOrHtmlSSA = default, map <@string, long> ruleMatches = default, bool scheduled = default, bool laidout = default, bool NoSplit = default, slice <Location> RegAlloc = default, map <LocalSlot, slice <ptr <Value> > > NamedValues = default, slice <LocalSlot> Names = default, slice <ptr <Block> > WBLoads = default, ref ptr <Value> freeValues = default, ref ptr <Block> freeBlocks = default, slice <ptr <Block> > cachedPostorder = default, slice <ptr <Block> > cachedIdom = default, SparseTree cachedSdom = default, ref ptr <loopnest> cachedLoopnest = default, ref ptr <xposmap> cachedLineStarts = default, auxmap auxmap = default, map <long, slice <ptr <Value> > > constants = default)
 {
     this.Config           = Config;
     this.Cache            = Cache;
     this.fe               = fe;
     this.pass             = pass;
     this.Name             = Name;
     this.Type             = Type;
     this.Blocks           = Blocks;
     this.Entry            = Entry;
     this.LastDeferExit    = LastDeferExit;
     this.bid              = bid;
     this.vid              = vid;
     this.logfiles         = logfiles;
     this.HTMLWriter       = HTMLWriter;
     this.DebugTest        = DebugTest;
     this.PrintOrHtmlSSA   = PrintOrHtmlSSA;
     this.ruleMatches      = ruleMatches;
     this.scheduled        = scheduled;
     this.laidout          = laidout;
     this.NoSplit          = NoSplit;
     this.RegAlloc         = RegAlloc;
     this.NamedValues      = NamedValues;
     this.Names            = Names;
     this.WBLoads          = WBLoads;
     this.freeValues       = freeValues;
     this.freeBlocks       = freeBlocks;
     this.cachedPostorder  = cachedPostorder;
     this.cachedIdom       = cachedIdom;
     this.cachedSdom       = cachedSdom;
     this.cachedLoopnest   = cachedLoopnest;
     this.cachedLineStarts = cachedLineStarts;
     this.auxmap           = auxmap;
     this.constants        = constants;
 }
コード例 #2
0
 public sortvalues(slice <ptr <Value> > a = default, auxmap auxIDs = default)
 {
     this.a      = a;
     this.auxIDs = auxIDs;
 }