From 362cfb350e8cd2ea58615877e3f1d37b95f0d0bf Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Thu, 29 May 2014 23:11:45 +0200 Subject: [PATCH] Revert "Fix for unless/when." This reverts commit b12d91e726ae5d1742e6d828c2cb5b694ffdf8a3. --- CodeFragment.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CodeFragment.cpp b/CodeFragment.cpp index f30fba956..299cda5f6 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")