aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-05-30 05:11:45 +0800
committerGav Wood <i@gavwood.com>2014-05-30 05:11:45 +0800
commit362cfb350e8cd2ea58615877e3f1d37b95f0d0bf (patch)
treec94ef37e4ae2afa665f80da59709c0c1fe7b0125
parent72265ac38ad65b0adc07e7ea7ece26baea9b356c (diff)
downloaddexon-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.cpp3
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")