TempleOSCDV4.08.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:47:25 +02:00
1 parent b632ab9a4f
commit 2d56cda5f3
258 files changed
+6973 -5476

No files matched your search

+11 -4
View File
@@ -260,7 +260,7 @@ CIntermediateCode *OptBrZero(CCmpCtrl *cc,CIntermediateCode *tempi)
case IC_CALL_END:
tempii2=OptLag(tempii);
switch (tempii2->ic_code) {
sub_switch_start:
start:
case IC_CARRY:
tempii2->ic_code=IC_BR_NOT_CARRY;
break;
@@ -282,7 +282,7 @@ CIntermediateCode *OptBrZero(CCmpCtrl *cc,CIntermediateCode *tempi)
case IC_BTC:
tempii2->ic_code=IC_BR_NOT_BTC;
break;
sub_switch_end:
end:
tempii2->ic_data=tempi->ic_data;
tempii->ic_code=IC_CALL_END2;
OptSetNOP1(tempi);
@@ -387,7 +387,7 @@ CIntermediateCode *OptBrNotZero(CCmpCtrl *cc,CIntermediateCode *tempi)
case IC_CALL_END:
tempii2=OptLag(tempii);
switch (tempii2->ic_code) {
sub_switch_start:
start:
case IC_CARRY:
tempii2->ic_code=IC_BR_CARRY;
break;
@@ -409,7 +409,7 @@ CIntermediateCode *OptBrNotZero(CCmpCtrl *cc,CIntermediateCode *tempi)
case IC_BTC:
tempii2->ic_code=IC_BR_BTC;
break;
sub_switch_end:
end:
tempii2->ic_data=tempi->ic_data;
tempii->ic_code=IC_CALL_END2;
OptSetNOP1(tempi);
@@ -525,6 +525,13 @@ I64 CmpRawTypePointed(CHashClass *tempc)
return 0;
}
U0 CmpMinTypePointed(CIntermediateCode *tempi,I64 pt1)
{
I64 pt;
if ((pt=tempi->a1_type_pointed_to) && pt!=RT_F64 && 0<pt1<pt)
tempi->a1_type_pointed_to=pt;
}
U0 CmpF1PushPop(CIntermediateCode *tempi,CIntermediateCode *tempi2)
{
if (intermediate_code_table[tempi2->ic_code].fpop||