mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
parent
eafd852a76
commit
2d60990238
@ -120,7 +120,7 @@ struct OpPop: SimplePeepholeOptimizerMethod<OpPop, 2>
|
|||||||
if (instructionInfo(instr).ret == 1 && !instructionInfo(instr).sideEffects)
|
if (instructionInfo(instr).ret == 1 && !instructionInfo(instr).sideEffects)
|
||||||
{
|
{
|
||||||
for (int j = 0; j < instructionInfo(instr).args; j++)
|
for (int j = 0; j < instructionInfo(instr).args; j++)
|
||||||
*_out = Instruction::POP;
|
*_out = {Instruction::POP, _op.location()};
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user