diff options
author | Gav Wood <i@gavwood.com> | 2014-05-30 05:11:45 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-05-30 05:11:45 +0800 |
commit | 362cfb350e8cd2ea58615877e3f1d37b95f0d0bf (patch) | |
tree | c94ef37e4ae2afa665f80da59709c0c1fe7b0125 | |
parent | 72265ac38ad65b0adc07e7ea7ece26baea9b356c (diff) | |
download | dexon-solidity-362cfb350e8cd2ea58615877e3f1d37b95f0d0bf.tar.gz dexon-solidity-362cfb350e8cd2ea58615877e3f1d37b95f0d0bf.tar.zst dexon-solidity-362cfb350e8cd2ea58615877e3f1d37b95f0d0bf.zip |
Revert "Fix for unless/when."
This reverts commit b12d91e726ae5d1742e6d828c2cb5b694ffdf8a3.
-rw-r--r-- | CodeFragment.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CodeFragment.cpp b/CodeFragment.cpp index f30fba95..299cda5f 100644 --- a/CodeFragment.cpp +++ b/CodeFragment.cpp @@ -385,8 +385,7 @@ void CodeFragment::constructOperation(sp::utree const& _t, CompilerState& _s) auto end = m_asm.appendJumpI(); m_asm.onePath(); m_asm.otherPath(); - m_asm.append(code[1].m_asm, 0); - m_asm << end.tag(); + m_asm << code[1].m_asm << end.tag(); m_asm.donePaths(); } else if (us == "WHILE") |