aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/Assembly.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-30 08:58:19 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-09-11 22:48:58 +0800
commit50570c6c794eee01af64751c884fb6cb68f8dffc (patch)
tree5ed3c757106ddba44ad2194c773ad70317c9272b /libevmasm/Assembly.cpp
parenta535a8b06ed1b9c0c5fd41805a4fe39939755f05 (diff)
downloaddexon-solidity-50570c6c794eee01af64751c884fb6cb68f8dffc.tar
dexon-solidity-50570c6c794eee01af64751c884fb6cb68f8dffc.tar.gz
dexon-solidity-50570c6c794eee01af64751c884fb6cb68f8dffc.tar.bz2
dexon-solidity-50570c6c794eee01af64751c884fb6cb68f8dffc.tar.lz
dexon-solidity-50570c6c794eee01af64751c884fb6cb68f8dffc.tar.xz
dexon-solidity-50570c6c794eee01af64751c884fb6cb68f8dffc.tar.zst
dexon-solidity-50570c6c794eee01af64751c884fb6cb68f8dffc.zip
Do not return the stream in asssemblyStream
Diffstat (limited to 'libevmasm/Assembly.cpp')
-rw-r--r--libevmasm/Assembly.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libevmasm/Assembly.cpp b/libevmasm/Assembly.cpp
index a07226ca..2203cadf 100644
--- a/libevmasm/Assembly.cpp
+++ b/libevmasm/Assembly.cpp
@@ -181,7 +181,7 @@ private:
}
-ostream& Assembly::assemblyStream(ostream& _out, string const& _prefix, StringMap const& _sourceCodes) const
+void Assembly::assemblyStream(ostream& _out, string const& _prefix, StringMap const& _sourceCodes) const
{
Functionalizer f(_out, _prefix, _sourceCodes);
@@ -206,8 +206,6 @@ ostream& Assembly::assemblyStream(ostream& _out, string const& _prefix, StringMa
if (m_auxiliaryData.size() > 0)
_out << endl << _prefix << "auxdata: 0x" << toHex(m_auxiliaryData) << endl;
-
- return _out;
}
Json::Value Assembly::createJsonValue(string _name, int _begin, int _end, string _value, string _jumpType)