From 03a9bc31fa2c047ec2944483dd957eadb16345db Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Fri, 20 Feb 2015 21:06:13 +0100 Subject: [PATCH] Minor fix. --- libevmcore/Assembly.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libevmcore/Assembly.cpp b/libevmcore/Assembly.cpp index b3cb191b7..37c3ff18d 100644 --- a/libevmcore/Assembly.cpp +++ b/libevmcore/Assembly.cpp @@ -441,7 +441,7 @@ Assembly& Assembly::optimise(bool _enable) if (i.type() == PushTag) tags.erase(i.data()); - if (tags.empty()) + if (!tags.empty()) { auto t = *tags.begin(); unsigned i = t.second;