N_NIMCALL(void, append_109039)(tlinkedlist109020* list, tlistentry109014* entry) { nimfr("Append", "lists.nim") nimln(33, "lists.nim"); (*list).Counter = addInt((*list).Counter, 1); nimln(34, "lists.nim"); asgnRef((void**) &(*entry).Next, NIM_NIL); nimln(35, "lists.nim"); asgnRef((void**) &(*entry).Prev, (*list).Tail); nimln(36, "lists.nim"); { nimln(698, "system.nim"); nimln(698, "system.nim"); if (!!(((*list).Tail == NIM_NIL))) goto LA3; nimln(37, "lists.nim"); { nimln(37, "lists.nim"); nimln(37, "lists.nim"); if (!!(((*(*list).Tail).Next == NIM_NIL))) goto LA7; nimln(37, "lists.nim"); hiddenraiseassert_76017(((NimStringDesc*) &TMP260)); } LA7: ; nimln(38, "lists.nim"); asgnRef((void**) &(*(*list).Tail).Next, entry); } LA3: ; nimln(39, "lists.nim"); unsureAsgnRef((void**) &(*list).Tail, entry); nimln(40, "lists.nim"); { nimln(40, "lists.nim"); if (!((*list).Head == NIM_NIL)) goto LA11; nimln(40, "lists.nim"); unsureAsgnRef((void**) &(*list).Head, entry); } LA11: ; popFrame(); }N_NIMCALL(void, TMP262)(void* p, NI op) {
N_NIMCALL(NIM_BOOL, Strtableincl_62381)(TY55530* T_62384, TY55548* N_62385) { NIM_BOOL Result_62386; NI H_62387; TY55548* It_62388; NIM_BOOL LOC9; Result_62386 = 0; H_62387 = 0; It_62388 = 0; H_62387 = (NI32)((*(*N_62385).Name).H & ((*T_62384).Data->Sup.len-1)); while (1) { It_62388 = (*T_62384).Data->data[H_62387]; if (!(It_62388 == NIM_NIL)) goto LA3; goto LA1; LA3: ; if (!((*(*It_62388).Name).Sup.Id == (*(*N_62385).Name).Sup.Id)) goto LA6; asgnRef((void**) &(*T_62384).Data->data[H_62387], N_62385); Result_62386 = NIM_TRUE; goto BeforeRet; LA6: ; H_62387 = Nexttry_60205(H_62387, ((*T_62384).Data->Sup.len-1)); } LA1: ; LOC9 = Mustrehash_60201((*T_62384).Data->Sup.len, (*T_62384).Counter); if (!LOC9) goto LA10; Strtableenlarge_62293(T_62384); Strtablerawinsert_62256(&(*T_62384).Data, N_62385); goto LA8; LA10: ; asgnRef((void**) &(*T_62384).Data->data[H_62387], N_62385); LA8: ; (*T_62384).Counter += 1; Result_62386 = NIM_FALSE; BeforeRet: ; return Result_62386; }
N_NIMCALL(void, prepend_109269)(tlinkedlist109020* list, tlistentry109014* entry) { nimfr("Prepend", "lists.nim") nimln(61, "lists.nim"); (*list).Counter = addInt((*list).Counter, 1); nimln(62, "lists.nim"); asgnRef((void**) &(*entry).Prev, NIM_NIL); nimln(63, "lists.nim"); asgnRef((void**) &(*entry).Next, (*list).Head); nimln(64, "lists.nim"); { nimln(698, "system.nim"); nimln(698, "system.nim"); if (!!(((*list).Head == NIM_NIL))) goto LA3; nimln(65, "lists.nim"); { nimln(65, "lists.nim"); nimln(65, "lists.nim"); if (!!(((*(*list).Head).Prev == NIM_NIL))) goto LA7; nimln(65, "lists.nim"); hiddenraiseassert_76017(((NimStringDesc*) &TMP264)); } LA7: ; nimln(66, "lists.nim"); asgnRef((void**) &(*(*list).Head).Prev, entry); } LA3: ; nimln(67, "lists.nim"); unsureAsgnRef((void**) &(*list).Head, entry); nimln(68, "lists.nim"); { nimln(68, "lists.nim"); if (!((*list).Tail == NIM_NIL)) goto LA11; nimln(68, "lists.nim"); unsureAsgnRef((void**) &(*list).Tail, entry); } LA11: ; popFrame(); }
NIM_EXTERNC N_NOINLINE(void, compiler_optionsInit)(void) { NimStringDesc* LOC1; NimStringDesc* LOC2; NimStringDesc* LOC3; NimStringDesc* LOC4; NimStringDesc* LOC5; NimStringDesc* LOC6; NimStringDesc* LOC7; NimStringDesc* LOC8; NimStringDesc* LOC9; NimStringDesc* LOC10; goptions_153126 = 2202238; gglobaloptions_153128 = 8388608; gcmd_153130 = ((NU8) 0); gselectedgc_153131 = ((NU8) 3); LOC1 = 0; LOC1 = outfile_153134; outfile_153134 = copyStringRC1(((NimStringDesc*) &TMP39)); if (LOC1) nimGCunrefNoCycle(LOC1); LOC2 = 0; LOC2 = docseesrcurl_153135; docseesrcurl_153135 = copyStringRC1(((NimStringDesc*) &TMP39)); if (LOC2) nimGCunrefNoCycle(LOC2); LOC3 = 0; LOC3 = headerfile_153136; headerfile_153136 = copyStringRC1(((NimStringDesc*) &TMP39)); if (LOC3) nimGCunrefNoCycle(LOC3); gverbosity_153137 = ((NI) 1); LOC4 = 0; LOC4 = gevalexpr_153140; gevalexpr_153140 = copyStringRC1(((NimStringDesc*) &TMP39)); if (LOC4) nimGCunrefNoCycle(LOC4); isserving_153143 = NIM_FALSE; gnonimblepath_153144 = NIM_FALSE; asgnRef((void**) (&gconfigvars_153231), nstnewStringTable(((NU8) 2))); asgnRef((void**) (&gdlloverrides_153232), nstnewStringTable(((NU8) 1))); LOC5 = 0; LOC5 = libpath_153233; libpath_153233 = copyStringRC1(((NimStringDesc*) &TMP39)); if (LOC5) nimGCunrefNoCycle(LOC5); LOC6 = 0; LOC6 = gprojectname_153234; gprojectname_153234 = copyStringRC1(((NimStringDesc*) &TMP39)); if (LOC6) nimGCunrefNoCycle(LOC6); LOC7 = 0; LOC7 = gprojectpath_153235; gprojectpath_153235 = copyStringRC1(((NimStringDesc*) &TMP39)); if (LOC7) nimGCunrefNoCycle(LOC7); LOC8 = 0; LOC8 = gprojectfull_153236; gprojectfull_153236 = copyStringRC1(((NimStringDesc*) &TMP39)); if (LOC8) nimGCunrefNoCycle(LOC8); LOC9 = 0; LOC9 = nimcachedir_153238; nimcachedir_153238 = copyStringRC1(((NimStringDesc*) &TMP39)); if (LOC9) nimGCunrefNoCycle(LOC9); LOC10 = 0; LOC10 = command_153239; command_153239 = copyStringRC1(((NimStringDesc*) &TMP39)); if (LOC10) nimGCunrefNoCycle(LOC10); if (commandargs_153259) nimGCunrefNoCycle(commandargs_153259); commandargs_153259 = (TY121008*) newSeqRC1((&NTI121008), 0); gkeepcomments_153260 = NIM_TRUE; if (implicitimports_153280) nimGCunrefNoCycle(implicitimports_153280); implicitimports_153280 = (TY121008*) newSeqRC1((&NTI121008), 0); if (implicitincludes_153300) nimGCunrefNoCycle(implicitincludes_153300); implicitincludes_153300 = (TY121008*) newSeqRC1((&NTI121008), 0); asgnRef((void**) (&packagecache_153601), nstnewStringTable(((NU8) 1))); }
N_NIMCALL(void, Append_38035)(TY38019* List_38038, TY38013* Entry_38039) { (*List_38038).Counter += 1; asgnRef((void**) &(*Entry_38039).Next, NIM_NIL); asgnRef((void**) &(*Entry_38039).Prev, (*List_38038).Tail); if (!!(((*List_38038).Tail == NIM_NIL))) goto LA2; asgnRef((void**) &(*(*List_38038).Tail).Next, Entry_38039); LA2: ; unsureAsgnRef((void**) &(*List_38038).Tail, Entry_38039); if (!((*List_38038).Head == NIM_NIL)) goto LA5; unsureAsgnRef((void**) &(*List_38038).Head, Entry_38039); LA5: ; }
N_NIMCALL(void, Prepend_38040)(TY38019* List_38043, TY38013* Entry_38044) { (*List_38043).Counter += 1; asgnRef((void**) &(*Entry_38044).Prev, NIM_NIL); asgnRef((void**) &(*Entry_38044).Next, (*List_38043).Head); if (!!(((*List_38043).Head == NIM_NIL))) goto LA2; asgnRef((void**) &(*(*List_38043).Head).Prev, Entry_38044); LA2: ; unsureAsgnRef((void**) &(*List_38043).Head, Entry_38044); if (!((*List_38043).Tail == NIM_NIL)) goto LA5; unsureAsgnRef((void**) &(*List_38043).Tail, Entry_38044); LA5: ; }
N_NIMCALL(void, idtablerawinsert_303085_2984716966)(Tidpairseq292848** data0, Tidobj199004* key0, TNimObject* val0) { NI h0; h0 = (NI)0; h0 = (NI)((*key0).id & ((*data0) ? ((*data0)->Sup.len-1) : -1)); { while (1) { if (!!(((*data0)->data[h0].key == NIM_NIL))) goto LA2; h0 = nexttry_299130_2984716966(h0, ((*data0) ? ((*data0)->Sup.len-1) : -1)); } LA2: ; } asgnRef((void**) (&(*data0)->data[h0].key), key0); asgnRef((void**) (&(*data0)->data[h0].val), val0); }
N_NIMCALL(void, registerplugin_406124)(NimStringDesc* package, NimStringDesc* module, NimStringDesc* fn, Transformation406013 t) { PluginHEX3Aobjecttype406019* oldhead; PluginHEX3Aobjecttype406019* LOC1; oldhead = head_406089; LOC1 = 0; LOC1 = (PluginHEX3Aobjecttype406019*) newObj((&NTI406015), sizeof(PluginHEX3Aobjecttype406019)); asgnRefNoCycle((void**) (&(*LOC1).fn), getident_167463(fn)); asgnRefNoCycle((void**) (&(*LOC1).module), getident_167463(module)); asgnRefNoCycle((void**) (&(*LOC1).package), getident_167463(package)); (*LOC1).t = t; asgnRef((void**) (&(*LOC1).next), oldhead); asgnRef((void**) (&head_406089), LOC1); }
N_NIMCALL(void, idtablerawinsert_226685)(Tidpairseq215838** data, Tidobj190006* key, TNimObject* val) { NI h; h = 0; h = (NI)((*key).id & ((*data) ? ((*data)->Sup.len-1) : -1)); { while (1) { if (!!(((*data)->data[h].key == NIM_NIL))) goto LA2; h = nexttry_222151(h, ((*data) ? ((*data)->Sup.len-1) : -1)); } LA2: ; } asgnRef((void**) (&(*data)->data[h].key), key); asgnRef((void**) (&(*data)->data[h].val), val); }
N_NIMCALL(void, registerplugin_479101_1104897005)(NimStringDesc* package0, NimStringDesc* module0, NimStringDesc* fn0, Transformation479003 t0) { PluginHEX3Aobjecttype479009* oldhead0; PluginHEX3Aobjecttype479009* LOC1; oldhead0 = head_479081_1104897005; LOC1 = (PluginHEX3Aobjecttype479009*)0; LOC1 = (PluginHEX3Aobjecttype479009*) newObj((&NTI479005), sizeof(PluginHEX3Aobjecttype479009)); asgnRefNoCycle((void**) (&(*LOC1).fn), getident_199441_791273810(fn0)); asgnRefNoCycle((void**) (&(*LOC1).module), getident_199441_791273810(module0)); asgnRefNoCycle((void**) (&(*LOC1).package), getident_199441_791273810(package0)); (*LOC1).t = t0; asgnRef((void**) (&(*LOC1).next), oldhead0); asgnRef((void**) (&head_479081_1104897005), LOC1); }
N_NIMCALL(void, idtablerawinsert_204439)(Tidpairseq191859** data, Tidobj167015* key, TNimObject* val) { NI h; h = 0; h = (NI)((*key).id & ((*data) ? ((*data)->Sup.len-1) : -1)); { while (1) { if (!!(((*data)->data[h].key == NIM_NIL))) goto LA2; h = nexttry_199256(h, ((*data) ? ((*data)->Sup.len-1) : -1)); } LA2: ; } asgnRef((void**) (&(*data)->data[h].key), key); asgnRef((void**) (&(*data)->data[h].val), val); }
N_NIMCALL(void, Remove_38045)(TY38019* List_38048, TY38013* Entry_38049) { (*List_38048).Counter -= 1; if (!(Entry_38049 == (*List_38048).Tail)) goto LA2; unsureAsgnRef((void**) &(*List_38048).Tail, (*Entry_38049).Prev); LA2: ; if (!(Entry_38049 == (*List_38048).Head)) goto LA5; unsureAsgnRef((void**) &(*List_38048).Head, (*Entry_38049).Next); LA5: ; if (!!(((*Entry_38049).Next == NIM_NIL))) goto LA8; asgnRef((void**) &(*(*Entry_38049).Next).Prev, (*Entry_38049).Prev); LA8: ; if (!!(((*Entry_38049).Prev == NIM_NIL))) goto LA11; asgnRef((void**) &(*(*Entry_38049).Prev).Next, (*Entry_38049).Next); LA11: ; }
N_NIMCALL(void, rawinsert_181699)(Table181466* t, Keyvaluepairseq181469** data, int key, Selectorkey181439 val, NI hc, NI h) { (*data)->data[h].Field1 = key; (*data)->data[h].Field2.fd = val.fd; (*data)->data[h].Field2.events = val.events; asgnRef((void**) (&(*data)->data[h].Field2.data), val.data); (*data)->data[h].Field0 = hc; }
N_NIMCALL(void, initdefines_166254)(void) { nimfr("initDefines", "condsyms.nim") nimln(75, "condsyms.nim"); asgnRef((void**) (&gsymbols_166004), nstnewStringTable(((NU8) 2))); nimln(76, "condsyms.nim"); definesymbol_166013(((NimStringDesc*) &TMP1345)); nimln(78, "condsyms.nim"); definesymbol_166013(((NimStringDesc*) &TMP1346)); nimln(79, "condsyms.nim"); definesymbol_166013(((NimStringDesc*) &TMP1347)); nimln(80, "condsyms.nim"); definesymbol_166013(((NimStringDesc*) &TMP1348)); nimln(81, "condsyms.nim"); definesymbol_166013(((NimStringDesc*) &TMP1349)); nimln(82, "condsyms.nim"); definesymbol_166013(((NimStringDesc*) &TMP1350)); nimln(83, "condsyms.nim"); definesymbol_166013(((NimStringDesc*) &TMP1351)); nimln(84, "condsyms.nim"); definesymbol_166013(((NimStringDesc*) &TMP1352)); nimln(85, "condsyms.nim"); definesymbol_166013(((NimStringDesc*) &TMP1353)); nimln(86, "condsyms.nim"); definesymbol_166013(((NimStringDesc*) &TMP1354)); nimln(87, "condsyms.nim"); definesymbol_166013(((NimStringDesc*) &TMP1355)); nimln(88, "condsyms.nim"); definesymbol_166013(((NimStringDesc*) &TMP1356)); nimln(89, "condsyms.nim"); definesymbol_166013(((NimStringDesc*) &TMP1357)); nimln(90, "condsyms.nim"); definesymbol_166013(((NimStringDesc*) &TMP1358)); popFrame(); }
N_NIMCALL(void, append_OHo5UGptcxVKInJo6EIoMg_4)(Tlinkedlist_9aBiIjAa4z2zTLjp4yMUvLw* list0, Tlistentry_U4JkVlrJQaACKZ9a9cwCla3Q* entry0) { (*list0).counter += ((NI) 1); asgnRef((void**) (&(*entry0).next), NIM_NIL); asgnRef((void**) (&(*entry0).prev), (*list0).tail); { if (!!(((*list0).tail == NIM_NIL))) goto LA3; asgnRef((void**) (&(*(*list0).tail).next), entry0); } LA3: ; unsureAsgnRef((void**) (&(*list0).tail), entry0); { if (!((*list0).head == NIM_NIL)) goto LA7; unsureAsgnRef((void**) (&(*list0).head), entry0); } LA7: ; }
N_NIMCALL(void, append_129053)(Tlinkedlist129028* list, Tlistentry129022* entry) { (*list).counter += ((NI) 1); asgnRef((void**) (&(*entry).next), NIM_NIL); asgnRef((void**) (&(*entry).prev), (*list).tail); { if (!!(((*list).tail == NIM_NIL))) goto LA3; asgnRef((void**) (&(*(*list).tail).next), entry); } LA3: ; unsureAsgnRef((void**) (&(*list).tail), entry); { if (!((*list).head == NIM_NIL)) goto LA7; unsureAsgnRef((void**) (&(*list).head), entry); } LA7: ; }
N_NIMCALL(void, prepend_135255)(Tlinkedlist135016* list, Tlistentry135010* entry) { (*list).counter += ((NI) 1); asgnRef((void**) (&(*entry).prev), NIM_NIL); asgnRef((void**) (&(*entry).next), (*list).head); { if (!!(((*list).head == NIM_NIL))) goto LA3; asgnRef((void**) (&(*(*list).head).prev), entry); } LA3: ; unsureAsgnRef((void**) (&(*list).head), entry); { if (!((*list).tail == NIM_NIL)) goto LA7; unsureAsgnRef((void**) (&(*list).tail), entry); } LA7: ; }
N_NIMCALL(void, initdefines_cpH2nhcvqZlKU3W1Gx7n5Q)(void) { asgnRef((void**) (&gsymbols_tS4f2TwBfIz6zIuFAktH6g), nstnewStringTable(((Stringtablemode_G9c4wVDFIzf0xHmQvxso9a9cQ) 2))); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_23), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_25), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_26), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_27), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_28), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_29), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_30), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_31), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_32), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_33), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_34), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_35), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_36), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_37), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_38), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_39), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_40), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_41), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_42), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_43), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_44), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); definesymbol_9aZwRQ421PtIIOO9cHOBczPA(((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_45), ((NimStringDesc*) &T_UpH3CWy69aOHB2xkQBDirlg_24)); }
N_NIMCALL(void, append_147035_3771138726)(Tlinkedlist147013* list0, Tlistentry147007* entry0) { (*list0).counter += ((NI) 1); asgnRef((void**) (&(*entry0).next), NIM_NIL); asgnRef((void**) (&(*entry0).prev), (*list0).tail); { if (!!(((*list0).tail == NIM_NIL))) goto LA3; asgnRef((void**) (&(*(*list0).tail).next), entry0); } LA3: ; unsureAsgnRef((void**) (&(*list0).tail), entry0); { if (!((*list0).head == NIM_NIL)) goto LA7; unsureAsgnRef((void**) (&(*list0).head), entry0); } LA7: ; }
N_NIMCALL(void, HEX5BHEX5DHEX3D_181571)(Table181466* t, int key, Selectorkey181439 val) { NI hc; NI index; hc = 0; index = rawget_181585((*t), key, (&hc)); { if (!(((NI) 0) <= index)) goto LA3; (*t).data->data[index].Field2.fd = val.fd; (*t).data->data[index].Field2.events = val.events; asgnRef((void**) (&(*t).data->data[index].Field2.data), val.data); } goto LA1; LA3: ; { { NIM_BOOL LOC8; LOC8 = 0; LOC8 = mustrehash_154289(((*t).data ? (*t).data->Sup.len : 0), (*t).counter); if (!LOC8) goto LA9; enlarge_181620(t); index = rawgetknownhc_181674((*t), key, hc); } LA9: ; index = (NI)(((NI) -1) - index); rawinsert_181699(t, (&(*t).data), key, val, hc, index); (*t).counter += ((NI) 1); } LA1: ; }
N_LIB_PRIVATE N_NIMCALL(NimStringDesc**, nstTake)(tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg* t, NimStringDesc* key) { NimStringDesc** result; NI index; result = (NimStringDesc**)0; index = rawGet_j2b5ExM8jHC3fdJfR8v9aMw(t, key); { if (!(((NI) 0) <= index)) goto LA3_; result = (&(*t).data->data[index].Field1); } goto LA1_; LA3_: ; { tyObject_KeyError_nRD4SGrdQPt47sk7LIklpA* e; NimStringDesc* T6_; e = (tyObject_KeyError_nRD4SGrdQPt47sk7LIklpA*)0; e = (tyObject_KeyError_nRD4SGrdQPt47sk7LIklpA*) newObj((&NTI_nuL5K2f5u8HXdjAg35PVfw_), sizeof(tyObject_KeyError_nRD4SGrdQPt47sk7LIklpA)); (*e).Sup.Sup.Sup.Sup.m_type = (&NTI_nRD4SGrdQPt47sk7LIklpA_); T6_ = (NimStringDesc*)0; T6_ = rawNewString((key ? key->Sup.len : 0) + 15); appendString(T6_, ((NimStringDesc*) &TM_ZT9crccxweoChVXn9cHcxIXQ_7)); appendString(T6_, key); asgnRefNoCycle((void**) (&(*e).Sup.Sup.Sup.message), T6_); asgnRef((void**) (&(*e).Sup.Sup.Sup.parent), NIM_NIL); raiseException((Exception*)e, "KeyError"); } LA1_: ; return result; }
N_NIMCALL(tpasscontext251003*, myopen_527057)(tsym192843* module) { tpasscontext251003* result; tgen527008* g; tdocumentor346005* d; NimStringDesc* LOC1; nimfr("myOpen", "docgen2.nim") result = 0; g = 0; nimln(39, "docgen2.nim"); g = (tgen527008*) newObj((&NTI527010), sizeof(tgen527008)); (*g).Sup.Sup.m_type = (&NTI527008); nimln(40, "docgen2.nim"); asgnRefNoCycle((void**) &(*g).Module, module); nimln(41, "docgen2.nim"); nimln(41, "docgen2.nim"); LOC1 = 0; LOC1 = tofilename_168780(((NI32)chckRange((*module).Position, ((NI32) (-2147483647 -1)), ((NI32) 2147483647)))); d = newdocumentor_346048(LOC1, gconfigvars_139203); nimln(42, "docgen2.nim"); (*d).Sup.Hastoc = NIM_TRUE; nimln(43, "docgen2.nim"); asgnRef((void**) &(*g).Doc, d); nimln(44, "docgen2.nim"); result = &g->Sup; popFrame(); return result; }
N_NIMCALL(Tcproc457034*, newproc_457229)(Tsym191843* prc, Tcgen457038* module) { Tcproc457034* result; nimfr("newProc", "cgendata.nim") result = 0; nimln(147, "cgendata.nim"); result = (Tcproc457034*) newObj((&NTI457030), sizeof(Tcproc457034)); nimln(148, "cgendata.nim"); asgnRefNoCycle((void**) (&(*result).prc), prc); nimln(149, "cgendata.nim"); asgnRef((void**) (&(*result).module), module); nimln(150, "cgendata.nim"); { if (!!((prc == NIM_NIL))) goto LA3; (*result).options = (*prc).options; } goto LA1; LA3: ; { nimln(151, "cgendata.nim"); (*result).options = goptions_154126; } LA1: ; nimln(152, "cgendata.nim"); if ((*result).blocks) nimGCunrefNoCycle((*result).blocks); (*result).blocks = (TY457106*) newSeqRC1((&NTI457106), ((NI) 1)); nimln(153, "cgendata.nim"); if ((*result).nestedtrystmts) nimGCunrefNoCycle((*result).nestedtrystmts); (*result).nestedtrystmts = (Tnodeseq191807*) newSeqRC1((&NTI191807), 0); nimln(154, "cgendata.nim"); if ((*result).finallysafepoints) nimGCunrefNoCycle((*result).finallysafepoints); (*result).finallysafepoints = (TY161599*) newSeqRC1((&NTI161599), 0); popFrame(); return result; }
N_NIMCALL(void, Registermodule_191229)(NimStringDesc* Filename_191231, TY55548* Module_191232) { NI Length_191243; Length_191243 = 0; Length_191243 = Compmods_191227->Sup.len; Compmods_191227 = (TY191208*) setLengthSeq(&(Compmods_191227)->Sup, sizeof(TY191206), (NI64)(Length_191243 + 1)); asgnRefNoCycle((void**) &Compmods_191227->data[Length_191243].Filename, copyString(Filename_191231)); asgnRef((void**) &Compmods_191227->data[Length_191243].Module, Module_191232); }
N_NIMCALL(void, insertbefore_119444)(tlinkedlist119023* list, tlistentry119017* pos, tlistentry119017* entry) { nimfr("insertBefore", "lists.nim") nimln(74, "lists.nim"); { nimln(74, "lists.nim"); nimln(74, "lists.nim"); nimln(74, "lists.nim"); if (!!(!((pos == NIM_NIL)))) goto LA3; nimln(74, "lists.nim"); failedassertimpl_80421(((NimStringDesc*) &TMP266)); } LA3: ; nimln(75, "lists.nim"); { nimln(75, "lists.nim"); if (!(pos == (*list).Head)) goto LA7; nimln(76, "lists.nim"); prepend_119300(list, entry); } goto LA5; LA7: ; { nimln(78, "lists.nim"); (*list).Counter = addInt((*list).Counter, 1); nimln(79, "lists.nim"); asgnRef((void**) &(*entry).Next, pos); nimln(80, "lists.nim"); asgnRef((void**) &(*entry).Prev, (*pos).Prev); nimln(81, "lists.nim"); { nimln(81, "lists.nim"); nimln(81, "lists.nim"); if (!!(((*pos).Prev == NIM_NIL))) goto LA12; nimln(81, "lists.nim"); asgnRef((void**) &(*(*pos).Prev).Next, entry); } LA12: ; nimln(82, "lists.nim"); asgnRef((void**) &(*pos).Prev, entry); } LA5: ; popFrame(); }
N_NIMCALL(TY107006*, Newproccon_107050)(TY55548* Owner_107052) { TY107006* Result_107175; Result_107175 = 0; if (!(Owner_107052 == NIM_NIL)) goto LA2; Internalerror_48163(((NimStringDesc*) &TMP196126)); LA2: ; Result_107175 = (TY107006*) newObj(NTI107008, sizeof(TY107006)); asgnRef((void**) &(*Result_107175).Owner, Owner_107052); return Result_107175; }
N_NIMCALL(void, createbomb_154524)(NI32 x, NI32 y) { BombHEX3Aobjecttype151022* LOC1; nimfr("createBomb", "game.nim") nimln(51, "game.nim"); LOC1 = 0; LOC1 = newbomb_151027(x, y); bombs_154006 = (TY154005*) incrSeq(&(bombs_154006)->Sup, sizeof(BombHEX3Aobjecttype151022*)); asgnRef((void**) (&bombs_154006->data[bombs_154006->Sup.len-1]), LOC1); popFrame(); }
N_NIMCALL(TY107012*, Newcontext_107046)(TY55548* Module_107048, NimStringDesc* Nimfile_107049) { TY107012* Result_107224; TY107002* LOC1; Result_107224 = 0; Result_107224 = (TY107012*) newObj(NTI107010, sizeof(TY107012)); objectInit(Result_107224, NTI107012); Initsymtab_60103(&(*Result_107224).Tab); Intsetinit_55919(&(*Result_107224).Ambiguoussymbols); Initlinkedlist_43031(&(*Result_107224).Optionstack); Initlinkedlist_43031(&(*Result_107224).Libs); LOC1 = 0; LOC1 = Newoptionentry_107056(); Append_43035(&(*Result_107224).Optionstack, &LOC1->Sup); asgnRef((void**) &(*Result_107224).Module, Module_107048); asgnRefNoCycle((void**) &(*Result_107224).Generics, Newnode_55711(((NU8) 101))); asgnRef((void**) &(*Result_107224).Converters, (TY55528*) newSeq(NTI55528, 0)); asgnRefNoCycle((void**) &(*Result_107224).Filename, copyString(Nimfile_107049)); Intsetinit_55919(&(*Result_107224).Includedfiles); Initstrtable_55747(&(*Result_107224).Userpragmas); return Result_107224; }
N_NIMCALL(TY105002*, Myopen_187115)(TY55548* Module_187117, NimStringDesc* Filename_187118) { TY105002* Result_187119; TY187010* G_187120; Result_187119 = 0; G_187120 = 0; G_187120 = (TY187010*) newObj(NTI187012, sizeof(TY187010)); (*G_187120).Sup.Sup.m_type = NTI187010; asgnRef((void**) &(*G_187120).Module, Module_187117); asgnRefNoCycle((void**) &(*G_187120).Filename, copyString(Filename_187118)); Result_187119 = &G_187120->Sup; return Result_187119; }
N_NIMCALL(void, remove_119669)(tlinkedlist119023* list, tlistentry119017* entry) { nimfr("remove", "lists.nim") nimln(85, "lists.nim"); (*list).Counter = subInt((*list).Counter, 1); nimln(86, "lists.nim"); { nimln(86, "lists.nim"); if (!(entry == (*list).Tail)) goto LA3; nimln(87, "lists.nim"); unsureAsgnRef((void**) &(*list).Tail, (*entry).Prev); } LA3: ; nimln(88, "lists.nim"); { nimln(88, "lists.nim"); if (!(entry == (*list).Head)) goto LA7; nimln(89, "lists.nim"); unsureAsgnRef((void**) &(*list).Head, (*entry).Next); } LA7: ; nimln(90, "lists.nim"); { nimln(90, "lists.nim"); nimln(90, "lists.nim"); if (!!(((*entry).Next == NIM_NIL))) goto LA11; nimln(90, "lists.nim"); asgnRef((void**) &(*(*entry).Next).Prev, (*entry).Prev); } LA11: ; nimln(91, "lists.nim"); { nimln(91, "lists.nim"); nimln(91, "lists.nim"); if (!!(((*entry).Prev == NIM_NIL))) goto LA15; nimln(91, "lists.nim"); asgnRef((void**) &(*(*entry).Prev).Next, (*entry).Next); } LA15: ; popFrame(); }