Пример #1
0
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;
}
Пример #2
0
N_NIMCALL(Tctx263036*, newctx_263267)(Tsym214822* module) {
	Tctx263036* result;
	Tctx263036* LOC1;
	PprocHEX3Aobjecttype263221* LOC2;
	NimStringDesc* LOC3;
	result = 0;
	LOC1 = 0;
	LOC1 = (Tctx263036*) newObj((&NTI263034), sizeof(Tctx263036));
	(*LOC1).Sup.Sup.m_type = (&NTI263036);
	if ((*LOC1).code) nimGCunrefNoCycle((*LOC1).code);
	(*LOC1).code = (TY263242*) newSeqRC1((&NTI263242), 0);
	if ((*LOC1).debug) nimGCunrefNoCycle((*LOC1).debug);
	(*LOC1).debug = (TY183093*) newSeqRC1((&NTI183093), 0);
	asgnRefNoCycle((void**) (&(*LOC1).globals), newnode_215401(((NU8) 126)));
	asgnRefNoCycle((void**) (&(*LOC1).constants), newnode_215401(((NU8) 115)));
	if ((*LOC1).types) nimGCunrefNoCycle((*LOC1).types);
	(*LOC1).types = (Ttypeseq214824*) newSeqRC1((&NTI214824), 0);
	LOC2 = 0;
	LOC2 = (PprocHEX3Aobjecttype263221*) newObj((&NTI263028), sizeof(PprocHEX3Aobjecttype263221));
	if ((*LOC2).blocks) nimGCunrefNoCycle((*LOC2).blocks);
	(*LOC2).blocks = (TY263222*) newSeqRC1((&NTI263222), 0);
	asgnRefNoCycle((void**) (&(*LOC1).prc), LOC2);
	asgnRefNoCycle((void**) (&(*LOC1).module), module);
	(*LOC1).loopiterations = ((NI) 1500000);
	(*LOC1).comesfromheuristic = unknownlineinfo_183090();
	if ((*LOC1).callbacks) nimGCunref((*LOC1).callbacks);
	(*LOC1).callbacks = (TY263261*) newSeqRC1((&NTI263261), 0);
	LOC3 = 0;
	LOC3 = (*LOC1).errorflag; (*LOC1).errorflag = copyStringRC1(((NimStringDesc*) &TMP2843));
	if (LOC3) nimGCunrefNoCycle(LOC3);
	result = LOC1;
	return result;
}
Пример #3
0
N_NIMCALL(Tctx242048*, newctx_242281)(Tsym190843* module) {
	Tctx242048* result;
	Tctx242048* LOC1;
	PprocHEX3Aobjecttype242232* LOC2;
	NimStringDesc* LOC3;
	result = 0;
	LOC1 = 0;
	LOC1 = (Tctx242048*) newObj((&NTI242046), sizeof(Tctx242048));
	(*LOC1).Sup.Sup.m_type = (&NTI242048);
	if ((*LOC1).code) nimGCunrefNoCycle((*LOC1).code);
	(*LOC1).code = (TY242253*) newSeqRC1((&NTI242253), 0);
	if ((*LOC1).debug) nimGCunrefNoCycle((*LOC1).debug);
	(*LOC1).debug = (TY163040*) newSeqRC1((&NTI163040), 0);
	asgnRefNoCycle((void**) (&(*LOC1).globals), newnode_191401(((NU8) 126)));
	asgnRefNoCycle((void**) (&(*LOC1).constants), newnode_191401(((NU8) 115)));
	if ((*LOC1).types) nimGCunrefNoCycle((*LOC1).types);
	(*LOC1).types = (Ttypeseq190845*) newSeqRC1((&NTI190845), 0);
	LOC2 = 0;
	LOC2 = (PprocHEX3Aobjecttype242232*) newObj((&NTI242040), sizeof(PprocHEX3Aobjecttype242232));
	if ((*LOC2).blocks) nimGCunrefNoCycle((*LOC2).blocks);
	(*LOC2).blocks = (TY242233*) newSeqRC1((&NTI242233), 0);
	asgnRefNoCycle((void**) (&(*LOC1).prc), LOC2);
	asgnRefNoCycle((void**) (&(*LOC1).module), module);
	(*LOC1).loopiterations = ((NI) 1500000);
	(*LOC1).comesfromheuristic = unknownlineinfo_163031();
	if ((*LOC1).callbacks) nimGCunref((*LOC1).callbacks);
	(*LOC1).callbacks = (TY242272*) newSeqRC1((&NTI242272), 0);
	LOC3 = 0;
	LOC3 = (*LOC1).errorflag; (*LOC1).errorflag = copyStringRC1(((NimStringDesc*) &TMP2695));
	if (LOC3) nimGCunrefNoCycle(LOC3);
	result = LOC1;
	return result;
}
Пример #4
0
N_NIMCALL(tctx249037*, newctx_249249)(tsym187843* module) {
	tctx249037* result;
	tctx249037* LOC1;
	pprocHEX3Aobjecttype249216* LOC2;
	nimfr("newCtx", "vmdef.nim")
	result = 0;
	nimln(197, "vmdef.nim");
	LOC1 = 0;
	LOC1 = (tctx249037*) newObj((&NTI249035), sizeof(tctx249037));
	(*LOC1).Sup.Sup.m_type = (&NTI249037);
	if ((*LOC1).Code) nimGCunrefNoCycle((*LOC1).Code);
	(*LOC1).Code = (TY249229*) newSeqRC1((&NTI249229), 0);
	if ((*LOC1).Debug) nimGCunrefNoCycle((*LOC1).Debug);
	(*LOC1).Debug = (TY164208*) newSeqRC1((&NTI164208), 0);
	nimln(198, "vmdef.nim");
	asgnRefNoCycle((void**) &(*LOC1).Globals, newnode_188075(((NU8) 125)));
	nimln(198, "vmdef.nim");
	asgnRefNoCycle((void**) &(*LOC1).Constants, newnode_188075(((NU8) 114)));
	if ((*LOC1).Types) nimGCunrefNoCycle((*LOC1).Types);
	(*LOC1).Types = (ttypeseq187845*) newSeqRC1((&NTI187845), 0);
	LOC2 = 0;
	LOC2 = (pprocHEX3Aobjecttype249216*) newObj((&NTI249033), sizeof(pprocHEX3Aobjecttype249216));
	if ((*LOC2).Blocks) nimGCunrefNoCycle((*LOC2).Blocks);
	(*LOC2).Blocks = (TY249217*) newSeqRC1((&NTI249217), 0);
	asgnRefNoCycle((void**) &(*LOC1).Prc, LOC2);
	asgnRefNoCycle((void**) &(*LOC1).Module, module);
	(*LOC1).Loopiterations = 500000;
	result = LOC1;
	popFrame();
	return result;
}
Пример #5
0
N_NIMCALL(Tctx345035*, newctx_345286_984354655)(Tsym294834* module0) {
	Tctx345035* result0;
	Tctx345035* LOC1;
	PprocHEX3Aobjecttype345220* LOC2;
	NimStringDesc* LOC3;
	result0 = (Tctx345035*)0;
	LOC1 = (Tctx345035*)0;
	LOC1 = (Tctx345035*) newObj((&NTI345033), sizeof(Tctx345035));
	(*LOC1).Sup.Sup.m_type = (&NTI345035);
	if ((*LOC1).code) nimGCunrefNoCycle((*LOC1).code);
	(*LOC1).code = (TY345241*) newSeqRC1((&NTI345241), 0);
	if ((*LOC1).debug) nimGCunrefNoCycle((*LOC1).debug);
	(*LOC1).debug = (TY194083*) newSeqRC1((&NTI194083), 0);
	asgnRefNoCycle((void**) (&(*LOC1).globals), newnode_295401_850551059(((Tnodekind294020) 126)));
	asgnRefNoCycle((void**) (&(*LOC1).constants), newnode_295401_850551059(((Tnodekind294020) 115)));
	if ((*LOC1).types) nimGCunrefNoCycle((*LOC1).types);
	(*LOC1).types = (Ttypeseq294836*) newSeqRC1((&NTI294836), 0);
	LOC2 = (PprocHEX3Aobjecttype345220*)0;
	LOC2 = (PprocHEX3Aobjecttype345220*) newObj((&NTI345027), sizeof(PprocHEX3Aobjecttype345220));
	if ((*LOC2).blocks) nimGCunrefNoCycle((*LOC2).blocks);
	(*LOC2).blocks = (TY345221*) newSeqRC1((&NTI345221), 0);
	asgnRefNoCycle((void**) (&(*LOC1).prc), LOC2);
	asgnRefNoCycle((void**) (&(*LOC1).module), module0);
	(*LOC1).loopiterations = ((NI) 1500000);
	(*LOC1).comesfromheuristic = unknownlineinfo_194080_155036129();
	if ((*LOC1).callbacks) nimGCunref((*LOC1).callbacks);
	(*LOC1).callbacks = (TY345260*) newSeqRC1((&NTI345260), 0);
	LOC3 = (NimStringDesc*)0;
	LOC3 = (*LOC1).errorflag; (*LOC1).errorflag = copyStringRC1(((NimStringDesc*) &T984354655_23));
	if (LOC3) nimGCunrefNoCycle(LOC3);
	result0 = LOC1;
	return result0;
}
Пример #6
0
N_NIMCALL(Tctx_hJGtOysUvnnuB9cLutWG9a2w*, newctx_hd62uCqiA5HQrQPFO4Zv8g)(Tsym_AXG7xcvKqaxY6koRX1xkCw* module0, IdentcacheHEX3Aobjecttype_TzLHS09bRH9a0TYLs39cqcNaw* cache0) {
	Tctx_hJGtOysUvnnuB9cLutWG9a2w* result0;
	Tctx_hJGtOysUvnnuB9cLutWG9a2w* LOC1;
	PprocHEX3Aobjecttype_VFEBuxrDHC6kHPzc1TWaRQ* LOC2;
	NimStringDesc* LOC3;
	result0 = (Tctx_hJGtOysUvnnuB9cLutWG9a2w*)0;
	LOC1 = (Tctx_hJGtOysUvnnuB9cLutWG9a2w*)0;
	LOC1 = (Tctx_hJGtOysUvnnuB9cLutWG9a2w*) newObj((&NTI_gNGB4FjqF4LwE1IhC7zxeQ), sizeof(Tctx_hJGtOysUvnnuB9cLutWG9a2w));
	(*LOC1).Sup.Sup.m_type = (&NTI_hJGtOysUvnnuB9cLutWG9a2w);
	if ((*LOC1).code) nimGCunrefNoCycle((*LOC1).code);
	(*LOC1).code = (TY_9bAGqSvkAaFL9bWjsEPslrFA*) newSeqRC1((&NTI_9bAGqSvkAaFL9bWjsEPslrFA), 0);
	if ((*LOC1).debug) nimGCunrefNoCycle((*LOC1).debug);
	(*LOC1).debug = (TY_dRkMGUPOSmkGlhHeIeiomQ*) newSeqRC1((&NTI_dRkMGUPOSmkGlhHeIeiomQ), 0);
	asgnRefNoCycle((void**) (&(*LOC1).globals), newnode_IgnRxkID5wXTWvTZf9ct0rA(((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 126)));
	asgnRefNoCycle((void**) (&(*LOC1).constants), newnode_IgnRxkID5wXTWvTZf9ct0rA(((Tnodekind_G4E4Gxe7oI2Cm03rkiOzQw) 115)));
	if ((*LOC1).types) nimGCunrefNoCycle((*LOC1).types);
	(*LOC1).types = (TY_zuqP4Riz26Oi5fWgPYVEgA*) newSeqRC1((&NTI_zuqP4Riz26Oi5fWgPYVEgA), 0);
	LOC2 = (PprocHEX3Aobjecttype_VFEBuxrDHC6kHPzc1TWaRQ*)0;
	LOC2 = (PprocHEX3Aobjecttype_VFEBuxrDHC6kHPzc1TWaRQ*) newObj((&NTI_FM7mzTFsA8pyUhXVKKO6Gw), sizeof(PprocHEX3Aobjecttype_VFEBuxrDHC6kHPzc1TWaRQ));
	if ((*LOC2).blocks) nimGCunrefNoCycle((*LOC2).blocks);
	(*LOC2).blocks = (TY_JokFGfUW6i9b6aeU7xu6xBw*) newSeqRC1((&NTI_JokFGfUW6i9b6aeU7xu6xBw), 0);
	asgnRefNoCycle((void**) (&(*LOC1).prc), LOC2);
	asgnRefNoCycle((void**) (&(*LOC1).module), module0);
	(*LOC1).loopiterations = ((NI) 1500000);
	(*LOC1).comesfromheuristic = unknownlineinfo_Ad9ctQofZYxhKVXoXjdL0Fw();
	if ((*LOC1).callbacks) nimGCunref((*LOC1).callbacks);
	(*LOC1).callbacks = (TY_RsxI3z4wK8jTuZiO0576gQ*) newSeqRC1((&NTI_RsxI3z4wK8jTuZiO0576gQ), 0);
	LOC3 = (NimStringDesc*)0;
	LOC3 = (*LOC1).errorflag; (*LOC1).errorflag = copyStringRC1(((NimStringDesc*) &T_LKTmeQxNOMAggl6ESLJFSg_17));
	if (LOC3) nimGCunrefNoCycle(LOC3);
	asgnRefNoCycle((void**) (&(*LOC1).cache), cache0);
	result0 = LOC1;
	return result0;
}
Пример #7
0
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)));
}
Пример #8
0
N_NIMCALL(void, getenvvarsc_121202)(void) {
	{
		NI i;
		if (!!(envcomputed_121007)) goto LA3;
		if (environment_121009) nimGCunrefNoCycle(environment_121009);
		environment_121009 = (TY121008*) newSeqRC1((&NTI121008), 0);
		i = ((NI) 0);
		{
			while (1) {
				NimStringDesc* LOC11;
				NimStringDesc* LOC12;
				{
					if (!(environ[(i)- 0] == NIM_NIL)) goto LA9;
					goto LA5;
				}
				LA9: ;
				LOC11 = 0;
				LOC11 = cstrToNimstr(environ[(i)- 0]);
				environment_121009 = (TY121008*) incrSeq(&(environment_121009)->Sup, sizeof(NimStringDesc*));
				LOC12 = 0;
				LOC12 = environment_121009->data[environment_121009->Sup.len-1]; environment_121009->data[environment_121009->Sup.len-1] = copyStringRC1(LOC11);
				if (LOC12) nimGCunrefNoCycle(LOC12);
				i += ((NI) 1);
			}
		} LA5: ;
		envcomputed_121007 = NIM_TRUE;
	}
	LA3: ;
}
Пример #9
0
NIM_EXTERNC N_NOINLINE(void, compiler_nimconfInit)(void) {
	nimfr("nimconf", "nimconf.nim")
	nimln(58, "nimconf.nim");
	if (condstack_186186) nimGCunrefNoCycle(condstack_186186);
	condstack_186186 = (TY186169*) newSeqRC1((&NTI186169), 0);
	popFrame();
}
Пример #10
0
N_NOINLINE(void, nimconfInit)(void) {
	nimfr("nimconf", "nimconf.nim")
	nimln(58, "nimconf.nim");
	if (condstack_182152) nimGCunrefNoCycle(condstack_182152);
	condstack_182152 = (TY182131*) newSeqRC1((&NTI182131), 0);
	popFrame();
}
Пример #11
0
N_NIMCALL(void, initgame_154544)(void) {
    nimfr("initGame", "game.nim")
    nimln(54, "game.nim");
    initengine_142030();
    nimln(55, "game.nim");
    if (bombs_154006) nimGCunref(bombs_154006);
    bombs_154006 = (TY154005*) newSeqRC1((&NTI154005), 0);
    nimln(56, "game.nim");
    if (map_154010) nimGCunref(map_154010);
    map_154010 = (TY154009*) newSeqRC1((&NTI154009), 0);
    nimln(57, "game.nim");
    loadlevel_154449(((NimStringDesc*) &TMP389));
    nimln(58, "game.nim");
    createbomb_154524(((NI32) 50), ((NI32) 50));
    popFrame();
}
Пример #12
0
N_NIMCALL(ModulegraphHEX3Aobjecttype_RZI3hCs0FTPYx8StfC81qQ*, newmodulegraph_GQ1K7tcEyGzXeNGgaZT54w)(void) {
	ModulegraphHEX3Aobjecttype_RZI3hCs0FTPYx8StfC81qQ* result0;
	ModulegraphHEX3Aobjecttype_RZI3hCs0FTPYx8StfC81qQ* LOC1;
	result0 = (ModulegraphHEX3Aobjecttype_RZI3hCs0FTPYx8StfC81qQ*)0;
	LOC1 = (ModulegraphHEX3Aobjecttype_RZI3hCs0FTPYx8StfC81qQ*)0;
	LOC1 = (ModulegraphHEX3Aobjecttype_RZI3hCs0FTPYx8StfC81qQ*) newObj((&NTI_KfdHSsl8vyUCSI9b3inBcww), sizeof(ModulegraphHEX3Aobjecttype_RZI3hCs0FTPYx8StfC81qQ));
	result0 = LOC1;
	initstrtable_dDG9ckEId9ai4WID9aLQcRYNg((&(*result0).packagesyms));
	initintset_a9a80eJplB17xrdZJ41Baww((&(*result0).deps));
	if ((*result0).modules) nimGCunrefNoCycle((*result0).modules);
	(*result0).modules = (TY_sksVpmPRIkNR9axiwtD1Guw*) newSeqRC1((&NTI_sksVpmPRIkNR9axiwtD1Guw), 0);
	if ((*result0).importstack) nimGCunrefNoCycle((*result0).importstack);
	(*result0).importstack = (TY_48JTohSgTy339bRxHzUD8KA*) newSeqRC1((&NTI_48JTohSgTy339bRxHzUD8KA), 0);
	inittable_ANARQJPe8QiWqio6ndea9aA(((NI) 64), (&(*result0).incltomod));
	return result0;
}
Пример #13
0
N_NIMCALL(Rstnode313008*, newrstnode_313093)(NU8 kind) {
	Rstnode313008* result;
	result = 0;
	result = (Rstnode313008*) newObj((&NTI313004), sizeof(Rstnode313008));
	if ((*result).sons) nimGCunrefNoCycle((*result).sons);
	(*result).sons = (Rstnodeseq313006*) newSeqRC1((&NTI313006), 0);
	(*result).kind = kind;
	return result;
}
Пример #14
0
N_NIMCALL(Rstnode369011*, newrstnode_369101_4150536388)(Rstnodekind369005 kind0) {
	Rstnode369011* result0;
	result0 = (Rstnode369011*)0;
	result0 = (Rstnode369011*) newObj((&NTI369007), sizeof(Rstnode369011));
	if ((*result0).sons) nimGCunrefNoCycle((*result0).sons);
	(*result0).sons = (Rstnodeseq369009*) newSeqRC1((&NTI369009), 0);
	(*result0).kind = kind0;
	return result0;
}
Пример #15
0
N_NIMCALL(Rstnode_CjRS2xrmuD58kdGedE3yyg*, newrstnode_a0gNerhK9cSe5kzN5MHB6OQ)(Rstnodekind_Q1jM9a8f0MKlvbLZpipB3qg kind0) {
	Rstnode_CjRS2xrmuD58kdGedE3yyg* result0;
	result0 = (Rstnode_CjRS2xrmuD58kdGedE3yyg*)0;
	result0 = (Rstnode_CjRS2xrmuD58kdGedE3yyg*) newObj((&NTI_eiDrOE3AS6QEbCsY2gtdWQ), sizeof(Rstnode_CjRS2xrmuD58kdGedE3yyg));
	if ((*result0).sons) nimGCunrefNoCycle((*result0).sons);
	(*result0).sons = (TY_sawZST1Esj3o7EY9ayWwGPw*) newSeqRC1((&NTI_sawZST1Esj3o7EY9ayWwGPw), 0);
	(*result0).kind = kind0;
	return result0;
}
Пример #16
0
N_NIMCALL(Trstnode295011*, newrstnode_295102)(NU8 kind) {
	Trstnode295011* result;
	result = 0;
	result = (Trstnode295011*) newObj((&NTI295007), sizeof(Trstnode295011));
	if ((*result).sons) nimGCunrefNoCycle((*result).sons);
	(*result).sons = (Trstnodeseq295009*) newSeqRC1((&NTI295009), 0);
	(*result).kind = kind;
	return result;
}
Пример #17
0
NIM_EXTERNC N_NOINLINE(void, compiler_cgendataInit)(void) {
	nimfr("cgendata", "cgendata.nim")
	nimln(131, "cgendata.nim");
	if (gmodules_457172) nimGCunref(gmodules_457172);
	gmodules_457172 = (TY457155*) newSeqRC1((&NTI457155), 0);
	nimln(132, "cgendata.nim");
	gforwardedprocscounter_457173 = ((NI) 0);
	popFrame();
}
Пример #18
0
N_NOINLINE(void, cgendataInit)(void) {
	nimfr("cgendata", "cgendata.nim")
	nimln(124, "cgendata.nim");
	if (gmodules_465163) nimGCunref(gmodules_465163);
	gmodules_465163 = (TY465142*) newSeqRC1((&NTI465142), 0);
	nimln(125, "cgendata.nim");
	gforwardedprocscounter_465164 = 0;
	popFrame();
}
Пример #19
0
N_NIMCALL(void, refresh_345372_984354655)(Tctx345035* c0, Tsym294834* module0) {
	PprocHEX3Aobjecttype345220* LOC1;
	asgnRefNoCycle((void**) (&(*c0).module), module0);
	LOC1 = (PprocHEX3Aobjecttype345220*)0;
	LOC1 = (PprocHEX3Aobjecttype345220*) newObj((&NTI345027), sizeof(PprocHEX3Aobjecttype345220));
	if ((*LOC1).blocks) nimGCunrefNoCycle((*LOC1).blocks);
	(*LOC1).blocks = (TY345221*) newSeqRC1((&NTI345221), 0);
	asgnRefNoCycle((void**) (&(*c0).prc), LOC1);
	(*c0).loopiterations = ((NI) 1500000);
}
Пример #20
0
N_NIMCALL(void, refresh_242383)(Tctx242048* c, Tsym190843* module) {
	PprocHEX3Aobjecttype242232* LOC1;
	asgnRefNoCycle((void**) (&(*c).module), module);
	LOC1 = 0;
	LOC1 = (PprocHEX3Aobjecttype242232*) newObj((&NTI242040), sizeof(PprocHEX3Aobjecttype242232));
	if ((*LOC1).blocks) nimGCunrefNoCycle((*LOC1).blocks);
	(*LOC1).blocks = (TY242233*) newSeqRC1((&NTI242233), 0);
	asgnRefNoCycle((void**) (&(*c).prc), LOC1);
	(*c).loopiterations = ((NI) 1500000);
}
Пример #21
0
N_NIMCALL(void, refresh_263353)(Tctx263036* c, Tsym214822* module) {
	PprocHEX3Aobjecttype263221* LOC1;
	asgnRefNoCycle((void**) (&(*c).module), module);
	LOC1 = 0;
	LOC1 = (PprocHEX3Aobjecttype263221*) newObj((&NTI263028), sizeof(PprocHEX3Aobjecttype263221));
	if ((*LOC1).blocks) nimGCunrefNoCycle((*LOC1).blocks);
	(*LOC1).blocks = (TY263222*) newSeqRC1((&NTI263222), 0);
	asgnRefNoCycle((void**) (&(*c).prc), LOC1);
	(*c).loopiterations = ((NI) 1500000);
}
Пример #22
0
N_NIMCALL(void, refresh_4UuyjhBInETKh5VAWuCnzQ)(Tctx_hJGtOysUvnnuB9cLutWG9a2w* c0, Tsym_AXG7xcvKqaxY6koRX1xkCw* module0) {
	PprocHEX3Aobjecttype_VFEBuxrDHC6kHPzc1TWaRQ* LOC1;
	asgnRefNoCycle((void**) (&(*c0).module), module0);
	LOC1 = (PprocHEX3Aobjecttype_VFEBuxrDHC6kHPzc1TWaRQ*)0;
	LOC1 = (PprocHEX3Aobjecttype_VFEBuxrDHC6kHPzc1TWaRQ*) newObj((&NTI_FM7mzTFsA8pyUhXVKKO6Gw), sizeof(PprocHEX3Aobjecttype_VFEBuxrDHC6kHPzc1TWaRQ));
	if ((*LOC1).blocks) nimGCunrefNoCycle((*LOC1).blocks);
	(*LOC1).blocks = (TY_JokFGfUW6i9b6aeU7xu6xBw*) newSeqRC1((&NTI_JokFGfUW6i9b6aeU7xu6xBw), 0);
	asgnRefNoCycle((void**) (&(*c0).prc), LOC1);
	(*c0).loopiterations = ((NI) 1500000);
}
Пример #23
0
N_LIB_PRIVATE N_NIMCALL(tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg*, nstnewStringTable)(tyEnum_StringTableMode_G9c4wVDFIzf0xHmQvxso9a9cQ mode) {
	tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg* result;
	result = (tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg*)0;
	result = (tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg*) newObj((&NTI_n9cmoMXcDs47wYDFGEXuCfw_), sizeof(tyObject_StringTableObj_V5PVrt9bIxZEeV7lfvqqtNg));
	(*result).Sup.m_type = (&NTI_V5PVrt9bIxZEeV7lfvqqtNg_);
	(*result).mode = mode;
	(*result).counter = ((NI) 0);
	if ((*result).data) { nimGCunrefNoCycle((*result).data); (*result).data = NIM_NIL; }
	(*result).data = (tySequence_xv3aaFd3JCw8NbmALHiezQ*) newSeqRC1((&NTI_xv3aaFd3JCw8NbmALHiezQ_), ((NI) 64));
	return result;
}
Пример #24
0
N_NIMCALL(Stringtableobj140209*, nstnewStringTable)(NU8 mode) {
	Stringtableobj140209* result;
	result = 0;
	result = (Stringtableobj140209*) newObj((&NTI140211), sizeof(Stringtableobj140209));
	(*result).Sup.m_type = (&NTI140209);
	(*result).mode = mode;
	(*result).counter = ((NI) 0);
	if ((*result).data) nimGCunrefNoCycle((*result).data);
	(*result).data = (Keyvaluepairseq140207*) newSeqRC1((&NTI140207), ((NI) 64));
	return result;
}
Пример #25
0
NIM_EXTERNC N_NOINLINE(void, compiler_cgendataInit000)(void) {
nimRegisterGlobalMarker(T3723162438_2);
nimRegisterGlobalMarker(T3723162438_3);
nimRegisterGlobalMarker(T3723162438_4);
nimRegisterGlobalMarker(T3723162438_5);
nimRegisterGlobalMarker(T3723162438_6);
nimRegisterGlobalMarker(T3723162438_17);
	if (gmodules_531170_3723162438) nimGCunref(gmodules_531170_3723162438);
	gmodules_531170_3723162438 = (TY531153*) newSeqRC1((&NTI531153), 0);
	gforwardedprocscounter_531171_3723162438 = ((NI) 0);
}
Пример #26
0
N_NIMCALL(tcproc470026*, newproc_470208)(tsym191843* prc, tcgen470030* module) {
    tcproc470026* result;
    nimfr("newProc", "cgendata.nim")
    result = 0;
    nimln(140, "cgendata.nim");
    result = (tcproc470026*) newObj((&NTI470022), sizeof(tcproc470026));
    nimln(141, "cgendata.nim");
    asgnRefNoCycle((void**) &(*result).Prc, prc);
    nimln(142, "cgendata.nim");
    asgnRef((void**) &(*result).Module, module);
    nimln(143, "cgendata.nim");
    {
        nimln(143, "cgendata.nim");
        nimln(143, "cgendata.nim");
        if (!!((prc == NIM_NIL))) goto LA3;
        nimln(143, "cgendata.nim");
        (*result).Options = (*prc).Options;
    }
    goto LA1;
LA3:
    ;
    {
        nimln(144, "cgendata.nim");
        (*result).Options = goptions_138108;
    }
LA1:
    ;
    nimln(145, "cgendata.nim");
    if ((*result).Blocks) nimGCunrefNoCycle((*result).Blocks);
    (*result).Blocks = (TY470097*) newSeqRC1((&NTI470097), 1);
    nimln(146, "cgendata.nim");
    if ((*result).Nestedtrystmts) nimGCunrefNoCycle((*result).Nestedtrystmts);
    (*result).Nestedtrystmts = (tnodeseq191807*) newSeqRC1((&NTI191807), 0);
    nimln(147, "cgendata.nim");
    if ((*result).Finallysafepoints) nimGCunrefNoCycle((*result).Finallysafepoints);
    (*result).Finallysafepoints = (tropeseq148009*) newSeqRC1((&NTI148009), 0);
    popFrame();
    return result;
}
Пример #27
0
N_NIMCALL(void, addsonskipintlit_238731)(Ttype191849* father, Ttype191849* son) {
	Ttype191849* s;
	{
		if (!(*father).sons == 0) goto LA3;
		if ((*father).sons) nimGCunrefNoCycle((*father).sons);
		(*father).sons = (Ttypeseq191845*) newSeqRC1((&NTI191845), 0);
	}
	LA3: ;
	s = skipintlit_238698(son);
	(*father).sons = (Ttypeseq191845*) incrSeq(&((*father).sons)->Sup, sizeof(Ttype191849*));
	asgnRefNoCycle((void**) (&(*father).sons->data[(*father).sons->Sup.len-1]), s);
	propagatetoowner_195274(father, s);
}
Пример #28
0
N_NIMCALL(void, refresh_249337)(tctx249037* c, tsym187843* module) {
	pprocHEX3Aobjecttype249216* LOC1;
	nimfr("refresh", "vmdef.nim")
	nimln(202, "vmdef.nim");
	asgnRefNoCycle((void**) &(*c).Module, module);
	nimln(203, "vmdef.nim");
	LOC1 = 0;
	LOC1 = (pprocHEX3Aobjecttype249216*) newObj((&NTI249033), sizeof(pprocHEX3Aobjecttype249216));
	if ((*LOC1).Blocks) nimGCunrefNoCycle((*LOC1).Blocks);
	(*LOC1).Blocks = (TY249217*) newSeqRC1((&NTI249217), 0);
	asgnRefNoCycle((void**) &(*c).Prc, LOC1);
	popFrame();
}
Пример #29
0
N_NIMCALL(trstnode295009*, newrstnode_295097)(NU8 kind) {
	trstnode295009* result;
	nimfr("newRstNode", "rstast.nim")
	result = 0;
	nimln(78, "rstast.nim");
	result = (trstnode295009*) newObj((&NTI295005), sizeof(trstnode295009));
	nimln(79, "rstast.nim");
	if ((*result).Sons) nimGCunrefNoCycle((*result).Sons);
	(*result).Sons = (TY295084*) newSeqRC1((&NTI295084), 0);
	nimln(80, "rstast.nim");
	(*result).Kind = kind;
	popFrame();
	return result;
}
Пример #30
0
N_NIMCALL(Trstnode299011*, newrstnode_299102)(NU8 kind) {
	Trstnode299011* result;
	nimfr("newRstNode", "rstast.nim")
	result = 0;
	nimln(78, "rstast.nim");
	result = (Trstnode299011*) newObj((&NTI299007), sizeof(Trstnode299011));
	nimln(79, "rstast.nim");
	if ((*result).sons) nimGCunrefNoCycle((*result).sons);
	(*result).sons = (Trstnodeseq299009*) newSeqRC1((&NTI299009), 0);
	nimln(80, "rstast.nim");
	(*result).kind = kind;
	popFrame();
	return result;
}