From 5a981b59c3519257027a107898c06693c126c7b5 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Wed, 26 Oct 2016 01:10:55 +0100 Subject: LLL: replace (1 0 sub) with literal value --- liblll/CodeFragment.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'liblll/CodeFragment.cpp') diff --git a/liblll/CodeFragment.cpp b/liblll/CodeFragment.cpp index 9dcac845..02351c3f 100644 --- a/liblll/CodeFragment.cpp +++ b/liblll/CodeFragment.cpp @@ -547,9 +547,7 @@ void CodeFragment::constructOperation(sp::utree const& _t, CompilerState& _s) requireDeposit(0, 1); m_asm.append(code[0].m_asm, 1); - m_asm.append((u256)1); - m_asm.append((u256)0); - m_asm.append(Instruction::SUB); + m_asm.append(bigint(u256(0) - 1); m_asm.append(Instruction::SUB); } else if (us == "SEQ") -- cgit