diff options
author | chriseth <chris@ethereum.org> | 2017-06-14 21:37:14 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-16 18:29:41 +0800 |
commit | 667a9d32aa5670303b145eddac16a8ad1f7a72e4 (patch) | |
tree | 9f7914596efcc54e89e5779f407d83991afc9746 /libjulia/backends/evm | |
parent | ce5ef08e05667d74283f18f79c3bb5970f39e946 (diff) | |
download | dexon-solidity-667a9d32aa5670303b145eddac16a8ad1f7a72e4.tar.gz dexon-solidity-667a9d32aa5670303b145eddac16a8ad1f7a72e4.tar.zst dexon-solidity-667a9d32aa5670303b145eddac16a8ad1f7a72e4.zip |
Set source location for for start label.
Diffstat (limited to 'libjulia/backends/evm')
-rw-r--r-- | libjulia/backends/evm/EVMCodeTransform.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libjulia/backends/evm/EVMCodeTransform.cpp b/libjulia/backends/evm/EVMCodeTransform.cpp index c543a507..b231ecec 100644 --- a/libjulia/backends/evm/EVMCodeTransform.cpp +++ b/libjulia/backends/evm/EVMCodeTransform.cpp @@ -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); |