finish inductive variables
This commit is contained in:
@@ -66,7 +66,7 @@ void BBlock::addInstructionBeforeInstruction(IR_Block* item, Instruction* instru
|
||||
{
|
||||
for (auto it = instructions.begin(); it != instructions.end(); ++it) {
|
||||
if ((*it)->getInstruction() == instruction) {
|
||||
instructions.insert(instructions.begin(), item);
|
||||
instructions.insert(it, item);
|
||||
item->setBasicBlock(this);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user