Home | History | Annotate | Download | only in gc
      1 // AUTO-GENERATED by mkbuiltin.go; DO NOT EDIT
      2 
      3 package gc
      4 
      5 var runtimeDecls = [...]struct {
      6 	name string
      7 	tag  int
      8 	typ  int
      9 }{
     10 	{"newobject", funcTag, 4},
     11 	{"panicindex", funcTag, 5},
     12 	{"panicslice", funcTag, 5},
     13 	{"panicdivide", funcTag, 5},
     14 	{"throwinit", funcTag, 5},
     15 	{"panicwrap", funcTag, 7},
     16 	{"gopanic", funcTag, 9},
     17 	{"gorecover", funcTag, 12},
     18 	{"goschedguarded", funcTag, 5},
     19 	{"printbool", funcTag, 14},
     20 	{"printfloat", funcTag, 16},
     21 	{"printint", funcTag, 18},
     22 	{"printhex", funcTag, 20},
     23 	{"printuint", funcTag, 20},
     24 	{"printcomplex", funcTag, 22},
     25 	{"printstring", funcTag, 23},
     26 	{"printpointer", funcTag, 24},
     27 	{"printiface", funcTag, 24},
     28 	{"printeface", funcTag, 24},
     29 	{"printslice", funcTag, 24},
     30 	{"printnl", funcTag, 5},
     31 	{"printsp", funcTag, 5},
     32 	{"printlock", funcTag, 5},
     33 	{"printunlock", funcTag, 5},
     34 	{"concatstring2", funcTag, 27},
     35 	{"concatstring3", funcTag, 28},
     36 	{"concatstring4", funcTag, 29},
     37 	{"concatstring5", funcTag, 30},
     38 	{"concatstrings", funcTag, 32},
     39 	{"cmpstring", funcTag, 34},
     40 	{"eqstring", funcTag, 35},
     41 	{"intstring", funcTag, 38},
     42 	{"slicebytetostring", funcTag, 40},
     43 	{"slicebytetostringtmp", funcTag, 41},
     44 	{"slicerunetostring", funcTag, 44},
     45 	{"stringtoslicebyte", funcTag, 45},
     46 	{"stringtoslicerune", funcTag, 48},
     47 	{"decoderune", funcTag, 49},
     48 	{"slicecopy", funcTag, 51},
     49 	{"slicestringcopy", funcTag, 52},
     50 	{"convI2I", funcTag, 53},
     51 	{"convT2E", funcTag, 54},
     52 	{"convT2I", funcTag, 54},
     53 	{"assertE2I", funcTag, 53},
     54 	{"assertE2I2", funcTag, 55},
     55 	{"assertI2I", funcTag, 53},
     56 	{"assertI2I2", funcTag, 55},
     57 	{"panicdottype", funcTag, 56},
     58 	{"panicnildottype", funcTag, 57},
     59 	{"ifaceeq", funcTag, 58},
     60 	{"efaceeq", funcTag, 58},
     61 	{"makemap", funcTag, 60},
     62 	{"mapaccess1", funcTag, 61},
     63 	{"mapaccess1_fast32", funcTag, 62},
     64 	{"mapaccess1_fast64", funcTag, 62},
     65 	{"mapaccess1_faststr", funcTag, 62},
     66 	{"mapaccess1_fat", funcTag, 63},
     67 	{"mapaccess2", funcTag, 64},
     68 	{"mapaccess2_fast32", funcTag, 65},
     69 	{"mapaccess2_fast64", funcTag, 65},
     70 	{"mapaccess2_faststr", funcTag, 65},
     71 	{"mapaccess2_fat", funcTag, 66},
     72 	{"mapassign", funcTag, 61},
     73 	{"mapiterinit", funcTag, 67},
     74 	{"mapdelete", funcTag, 67},
     75 	{"mapiternext", funcTag, 68},
     76 	{"makechan", funcTag, 70},
     77 	{"chanrecv1", funcTag, 72},
     78 	{"chanrecv2", funcTag, 73},
     79 	{"chansend1", funcTag, 75},
     80 	{"closechan", funcTag, 24},
     81 	{"writeBarrier", varTag, 76},
     82 	{"writebarrierptr", funcTag, 77},
     83 	{"typedmemmove", funcTag, 78},
     84 	{"typedmemclr", funcTag, 79},
     85 	{"typedslicecopy", funcTag, 80},
     86 	{"selectnbsend", funcTag, 81},
     87 	{"selectnbrecv", funcTag, 82},
     88 	{"selectnbrecv2", funcTag, 84},
     89 	{"newselect", funcTag, 85},
     90 	{"selectsend", funcTag, 81},
     91 	{"selectrecv", funcTag, 73},
     92 	{"selectrecv2", funcTag, 86},
     93 	{"selectdefault", funcTag, 87},
     94 	{"selectgo", funcTag, 57},
     95 	{"block", funcTag, 5},
     96 	{"makeslice", funcTag, 89},
     97 	{"makeslice64", funcTag, 90},
     98 	{"growslice", funcTag, 91},
     99 	{"memmove", funcTag, 92},
    100 	{"memclrNoHeapPointers", funcTag, 93},
    101 	{"memclrHasPointers", funcTag, 93},
    102 	{"memequal", funcTag, 94},
    103 	{"memequal8", funcTag, 95},
    104 	{"memequal16", funcTag, 95},
    105 	{"memequal32", funcTag, 95},
    106 	{"memequal64", funcTag, 95},
    107 	{"memequal128", funcTag, 95},
    108 	{"int64div", funcTag, 96},
    109 	{"uint64div", funcTag, 97},
    110 	{"int64mod", funcTag, 96},
    111 	{"uint64mod", funcTag, 97},
    112 	{"float64toint64", funcTag, 98},
    113 	{"float64touint64", funcTag, 99},
    114 	{"float64touint32", funcTag, 101},
    115 	{"int64tofloat64", funcTag, 102},
    116 	{"uint64tofloat64", funcTag, 103},
    117 	{"uint32tofloat64", funcTag, 104},
    118 	{"complex128div", funcTag, 105},
    119 	{"racefuncenter", funcTag, 106},
    120 	{"racefuncexit", funcTag, 5},
    121 	{"raceread", funcTag, 106},
    122 	{"racewrite", funcTag, 106},
    123 	{"racereadrange", funcTag, 107},
    124 	{"racewriterange", funcTag, 107},
    125 	{"msanread", funcTag, 107},
    126 	{"msanwrite", funcTag, 107},
    127 }
    128 
    129 func runtimeTypes() []*Type {
    130 	var typs [108]*Type
    131 	typs[0] = bytetype
    132 	typs[1] = typPtr(typs[0])
    133 	typs[2] = Types[TANY]
    134 	typs[3] = typPtr(typs[2])
    135 	typs[4] = functype(nil, []*Node{anonfield(typs[1])}, []*Node{anonfield(typs[3])})
    136 	typs[5] = functype(nil, nil, nil)
    137 	typs[6] = Types[TSTRING]
    138 	typs[7] = functype(nil, []*Node{anonfield(typs[6]), anonfield(typs[6]), anonfield(typs[6])}, nil)
    139 	typs[8] = Types[TINTER]
    140 	typs[9] = functype(nil, []*Node{anonfield(typs[8])}, nil)
    141 	typs[10] = Types[TINT32]
    142 	typs[11] = typPtr(typs[10])
    143 	typs[12] = functype(nil, []*Node{anonfield(typs[11])}, []*Node{anonfield(typs[8])})
    144 	typs[13] = Types[TBOOL]
    145 	typs[14] = functype(nil, []*Node{anonfield(typs[13])}, nil)
    146 	typs[15] = Types[TFLOAT64]
    147 	typs[16] = functype(nil, []*Node{anonfield(typs[15])}, nil)
    148 	typs[17] = Types[TINT64]
    149 	typs[18] = functype(nil, []*Node{anonfield(typs[17])}, nil)
    150 	typs[19] = Types[TUINT64]
    151 	typs[20] = functype(nil, []*Node{anonfield(typs[19])}, nil)
    152 	typs[21] = Types[TCOMPLEX128]
    153 	typs[22] = functype(nil, []*Node{anonfield(typs[21])}, nil)
    154 	typs[23] = functype(nil, []*Node{anonfield(typs[6])}, nil)
    155 	typs[24] = functype(nil, []*Node{anonfield(typs[2])}, nil)
    156 	typs[25] = typArray(typs[0], 32)
    157 	typs[26] = typPtr(typs[25])
    158 	typs[27] = functype(nil, []*Node{anonfield(typs[26]), anonfield(typs[6]), anonfield(typs[6])}, []*Node{anonfield(typs[6])})
    159 	typs[28] = functype(nil, []*Node{anonfield(typs[26]), anonfield(typs[6]), anonfield(typs[6]), anonfield(typs[6])}, []*Node{anonfield(typs[6])})
    160 	typs[29] = functype(nil, []*Node{anonfield(typs[26]), anonfield(typs[6]), anonfield(typs[6]), anonfield(typs[6]), anonfield(typs[6])}, []*Node{anonfield(typs[6])})
    161 	typs[30] = functype(nil, []*Node{anonfield(typs[26]), anonfield(typs[6]), anonfield(typs[6]), anonfield(typs[6]), anonfield(typs[6]), anonfield(typs[6])}, []*Node{anonfield(typs[6])})
    162 	typs[31] = typSlice(typs[6])
    163 	typs[32] = functype(nil, []*Node{anonfield(typs[26]), anonfield(typs[31])}, []*Node{anonfield(typs[6])})
    164 	typs[33] = Types[TINT]
    165 	typs[34] = functype(nil, []*Node{anonfield(typs[6]), anonfield(typs[6])}, []*Node{anonfield(typs[33])})
    166 	typs[35] = functype(nil, []*Node{anonfield(typs[6]), anonfield(typs[6])}, []*Node{anonfield(typs[13])})
    167 	typs[36] = typArray(typs[0], 4)
    168 	typs[37] = typPtr(typs[36])
    169 	typs[38] = functype(nil, []*Node{anonfield(typs[37]), anonfield(typs[17])}, []*Node{anonfield(typs[6])})
    170 	typs[39] = typSlice(typs[0])
    171 	typs[40] = functype(nil, []*Node{anonfield(typs[26]), anonfield(typs[39])}, []*Node{anonfield(typs[6])})
    172 	typs[41] = functype(nil, []*Node{anonfield(typs[39])}, []*Node{anonfield(typs[6])})
    173 	typs[42] = runetype
    174 	typs[43] = typSlice(typs[42])
    175 	typs[44] = functype(nil, []*Node{anonfield(typs[26]), anonfield(typs[43])}, []*Node{anonfield(typs[6])})
    176 	typs[45] = functype(nil, []*Node{anonfield(typs[26]), anonfield(typs[6])}, []*Node{anonfield(typs[39])})
    177 	typs[46] = typArray(typs[42], 32)
    178 	typs[47] = typPtr(typs[46])
    179 	typs[48] = functype(nil, []*Node{anonfield(typs[47]), anonfield(typs[6])}, []*Node{anonfield(typs[43])})
    180 	typs[49] = functype(nil, []*Node{anonfield(typs[6]), anonfield(typs[33])}, []*Node{anonfield(typs[42]), anonfield(typs[33])})
    181 	typs[50] = Types[TUINTPTR]
    182 	typs[51] = functype(nil, []*Node{anonfield(typs[2]), anonfield(typs[2]), anonfield(typs[50])}, []*Node{anonfield(typs[33])})
    183 	typs[52] = functype(nil, []*Node{anonfield(typs[2]), anonfield(typs[2])}, []*Node{anonfield(typs[33])})
    184 	typs[53] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[2])}, []*Node{anonfield(typs[2])})
    185 	typs[54] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[3])}, []*Node{anonfield(typs[2])})
    186 	typs[55] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[2])}, []*Node{anonfield(typs[2]), anonfield(typs[13])})
    187 	typs[56] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[1]), anonfield(typs[1])}, nil)
    188 	typs[57] = functype(nil, []*Node{anonfield(typs[1])}, nil)
    189 	typs[58] = functype(nil, []*Node{anonfield(typs[2]), anonfield(typs[2])}, []*Node{anonfield(typs[13])})
    190 	typs[59] = typMap(typs[2], typs[2])
    191 	typs[60] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[17]), anonfield(typs[3]), anonfield(typs[3])}, []*Node{anonfield(typs[59])})
    192 	typs[61] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[59]), anonfield(typs[3])}, []*Node{anonfield(typs[3])})
    193 	typs[62] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[59]), anonfield(typs[2])}, []*Node{anonfield(typs[3])})
    194 	typs[63] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[59]), anonfield(typs[3]), anonfield(typs[1])}, []*Node{anonfield(typs[3])})
    195 	typs[64] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[59]), anonfield(typs[3])}, []*Node{anonfield(typs[3]), anonfield(typs[13])})
    196 	typs[65] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[59]), anonfield(typs[2])}, []*Node{anonfield(typs[3]), anonfield(typs[13])})
    197 	typs[66] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[59]), anonfield(typs[3]), anonfield(typs[1])}, []*Node{anonfield(typs[3]), anonfield(typs[13])})
    198 	typs[67] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[59]), anonfield(typs[3])}, nil)
    199 	typs[68] = functype(nil, []*Node{anonfield(typs[3])}, nil)
    200 	typs[69] = typChan(typs[2], Cboth)
    201 	typs[70] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[17])}, []*Node{anonfield(typs[69])})
    202 	typs[71] = typChan(typs[2], Crecv)
    203 	typs[72] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[71]), anonfield(typs[3])}, nil)
    204 	typs[73] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[71]), anonfield(typs[3])}, []*Node{anonfield(typs[13])})
    205 	typs[74] = typChan(typs[2], Csend)
    206 	typs[75] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[74]), anonfield(typs[3])}, nil)
    207 	typs[76] = tostruct([]*Node{namedfield("enabled", typs[13]), namedfield("needed", typs[13]), namedfield("cgo", typs[13])})
    208 	typs[77] = functype(nil, []*Node{anonfield(typs[3]), anonfield(typs[2])}, nil)
    209 	typs[78] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[3]), anonfield(typs[3])}, nil)
    210 	typs[79] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[3])}, nil)
    211 	typs[80] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[2]), anonfield(typs[2])}, []*Node{anonfield(typs[33])})
    212 	typs[81] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[74]), anonfield(typs[3])}, []*Node{anonfield(typs[13])})
    213 	typs[82] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[3]), anonfield(typs[71])}, []*Node{anonfield(typs[13])})
    214 	typs[83] = typPtr(typs[13])
    215 	typs[84] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[3]), anonfield(typs[83]), anonfield(typs[71])}, []*Node{anonfield(typs[13])})
    216 	typs[85] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[17]), anonfield(typs[10])}, nil)
    217 	typs[86] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[71]), anonfield(typs[3]), anonfield(typs[83])}, []*Node{anonfield(typs[13])})
    218 	typs[87] = functype(nil, []*Node{anonfield(typs[1])}, []*Node{anonfield(typs[13])})
    219 	typs[88] = typSlice(typs[2])
    220 	typs[89] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[33]), anonfield(typs[33])}, []*Node{anonfield(typs[88])})
    221 	typs[90] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[17]), anonfield(typs[17])}, []*Node{anonfield(typs[88])})
    222 	typs[91] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[88]), anonfield(typs[33])}, []*Node{anonfield(typs[88])})
    223 	typs[92] = functype(nil, []*Node{anonfield(typs[3]), anonfield(typs[3]), anonfield(typs[50])}, nil)
    224 	typs[93] = functype(nil, []*Node{anonfield(typs[1]), anonfield(typs[50])}, nil)
    225 	typs[94] = functype(nil, []*Node{anonfield(typs[3]), anonfield(typs[3]), anonfield(typs[50])}, []*Node{anonfield(typs[13])})
    226 	typs[95] = functype(nil, []*Node{anonfield(typs[3]), anonfield(typs[3])}, []*Node{anonfield(typs[13])})
    227 	typs[96] = functype(nil, []*Node{anonfield(typs[17]), anonfield(typs[17])}, []*Node{anonfield(typs[17])})
    228 	typs[97] = functype(nil, []*Node{anonfield(typs[19]), anonfield(typs[19])}, []*Node{anonfield(typs[19])})
    229 	typs[98] = functype(nil, []*Node{anonfield(typs[15])}, []*Node{anonfield(typs[17])})
    230 	typs[99] = functype(nil, []*Node{anonfield(typs[15])}, []*Node{anonfield(typs[19])})
    231 	typs[100] = Types[TUINT32]
    232 	typs[101] = functype(nil, []*Node{anonfield(typs[15])}, []*Node{anonfield(typs[100])})
    233 	typs[102] = functype(nil, []*Node{anonfield(typs[17])}, []*Node{anonfield(typs[15])})
    234 	typs[103] = functype(nil, []*Node{anonfield(typs[19])}, []*Node{anonfield(typs[15])})
    235 	typs[104] = functype(nil, []*Node{anonfield(typs[100])}, []*Node{anonfield(typs[15])})
    236 	typs[105] = functype(nil, []*Node{anonfield(typs[21]), anonfield(typs[21])}, []*Node{anonfield(typs[21])})
    237 	typs[106] = functype(nil, []*Node{anonfield(typs[50])}, nil)
    238 	typs[107] = functype(nil, []*Node{anonfield(typs[50]), anonfield(typs[50])}, nil)
    239 	return typs[:]
    240 }
    241