aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-11-16 22:09:01 +0800
committerchriseth <c@ethdev.com>2016-11-16 22:09:01 +0800
commit2c14a96820233809db4360b39f5f02039be5730a (patch)
treeee20fa35cbc19eddcddd1013e745b387e7371be3 /libevmasm
parent2defe4dcefb6f0e17d7f87231233ff637dad55a8 (diff)
downloaddexon-solidity-2c14a96820233809db4360b39f5f02039be5730a.tar
dexon-solidity-2c14a96820233809db4360b39f5f02039be5730a.tar.gz
dexon-solidity-2c14a96820233809db4360b39f5f02039be5730a.tar.bz2
dexon-solidity-2c14a96820233809db4360b39f5f02039be5730a.tar.lz
dexon-solidity-2c14a96820233809db4360b39f5f02039be5730a.tar.xz
dexon-solidity-2c14a96820233809db4360b39f5f02039be5730a.tar.zst
dexon-solidity-2c14a96820233809db4360b39f5f02039be5730a.zip
Some more assertions and style changes.
Diffstat (limited to 'libevmasm')
-rw-r--r--libevmasm/Assembly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libevmasm/Assembly.cpp b/libevmasm/Assembly.cpp
index a813a3a7..a3037456 100644
--- a/libevmasm/Assembly.cpp
+++ b/libevmasm/Assembly.cpp
@@ -81,7 +81,7 @@ string Assembly::out() const
unsigned Assembly::bytesRequired(unsigned subTagSize) const
{
- for (unsigned tagSize = subTagSize;; ++tagSize)
+ for (unsigned tagSize = subTagSize; true; ++tagSize)
{
unsigned ret = 1;
for (auto const& i: m_data)