mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Set source location for for start label.
This commit is contained in:
parent
ce5ef08e05
commit
667a9d32aa
@ -353,6 +353,7 @@ void CodeTransform::operator()(ForLoop const& _forLoop)
|
||||
AbstractAssembly::LabelID loopEnd = m_assembly.newLabelId();
|
||||
AbstractAssembly::LabelID postPart = m_assembly.newLabelId();
|
||||
|
||||
m_assembly.setSourceLocation(_forLoop.location);
|
||||
m_assembly.appendLabel(loopStart);
|
||||
|
||||
visitExpression(*_forLoop.condition);
|
||||
|
Loading…
Reference in New Issue
Block a user