aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen
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 /libsolidity/codegen
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 'libsolidity/codegen')
-rw-r--r--libsolidity/codegen/Compiler.h4
-rw-r--r--libsolidity/codegen/CompilerContext.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/libsolidity/codegen/Compiler.h b/libsolidity/codegen/Compiler.h
index 1224ff60..5233cc91 100644
--- a/libsolidity/codegen/Compiler.h
+++ b/libsolidity/codegen/Compiler.h
@@ -60,9 +60,9 @@ public:
/// @returns Only the runtime object (without constructor).
eth::LinkerObject runtimeObject() const { return m_context.assembledRuntimeObject(m_runtimeSub); }
/// @arg _sourceCodes is the map of input files to source code strings
- std::ostream& assemblyStream(std::ostream& _stream, StringMap const& _sourceCodes = StringMap()) const
+ void assemblyStream(std::ostream& _stream, StringMap const& _sourceCodes = StringMap()) const
{
- return m_context.assemblyStream(_stream, _sourceCodes);
+ m_context.assemblyStream(_stream, _sourceCodes);
}
/// @arg _sourceCodes is the map of input files to source code strings
Json::Value assemblyJSON(StringMap const& _sourceCodes = StringMap()) const
diff --git a/libsolidity/codegen/CompilerContext.h b/libsolidity/codegen/CompilerContext.h
index de79aa42..47d4edde 100644
--- a/libsolidity/codegen/CompilerContext.h
+++ b/libsolidity/codegen/CompilerContext.h
@@ -209,9 +209,9 @@ public:
eth::Assembly& nonConstAssembly() { return *m_asm; }
/// @arg _sourceCodes is the map of input files to source code strings
- std::ostream& assemblyStream(std::ostream& _stream, StringMap const& _sourceCodes = StringMap()) const
+ void assemblyStream(std::ostream& _stream, StringMap const& _sourceCodes = StringMap()) const
{
- return m_asm->assemblyStream(_stream, "", _sourceCodes);
+ m_asm->assemblyStream(_stream, "", _sourceCodes);
}
/// @arg _sourceCodes is the map of input files to source code strings