Fix over eager constant propagation
This commit is contained in:
parent
b8a993aa34
commit
6cfa24b8ad
|
@ -5729,6 +5729,8 @@ void InterCodeBasicBlock::CollectConstTemps(GrowingInstructionPtrArray& ctemps,
|
|||
{
|
||||
if (mInstructions[i]->mCode == IC_CONSTANT)
|
||||
ltemps[ttemp] = mInstructions[i];
|
||||
else
|
||||
ltemps[ttemp] = nullptr;
|
||||
|
||||
if (assignedTemps[ttemp])
|
||||
ctemps[ttemp] = nullptr;
|
||||
|
@ -16433,7 +16435,7 @@ void InterCodeProcedure::Close(void)
|
|||
{
|
||||
GrowingTypeArray tstack(IT_NONE);
|
||||
|
||||
CheckFunc = !strcmp(mIdent->mString, "test_find");
|
||||
CheckFunc = !strcmp(mIdent->mString, "tile_draw_g");
|
||||
|
||||
mEntryBlock = mBlocks[0];
|
||||
|
||||
|
|
Loading…
Reference in New Issue