aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/Compiler.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-30 09:17:15 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-09-11 22:53:20 +0800
commitbbfb16cf5ce903150bc3a141ac50553d8bf6d346 (patch)
treea79144b2c970f097f3bd1c8a6b3cdc27d0670ce8 /libsolidity/codegen/Compiler.h
parent50570c6c794eee01af64751c884fb6cb68f8dffc (diff)
downloaddexon-solidity-bbfb16cf5ce903150bc3a141ac50553d8bf6d346.tar
dexon-solidity-bbfb16cf5ce903150bc3a141ac50553d8bf6d346.tar.gz
dexon-solidity-bbfb16cf5ce903150bc3a141ac50553d8bf6d346.tar.bz2
dexon-solidity-bbfb16cf5ce903150bc3a141ac50553d8bf6d346.tar.lz
dexon-solidity-bbfb16cf5ce903150bc3a141ac50553d8bf6d346.tar.xz
dexon-solidity-bbfb16cf5ce903150bc3a141ac50553d8bf6d346.tar.zst
dexon-solidity-bbfb16cf5ce903150bc3a141ac50553d8bf6d346.zip
Introduce assemblyString
Diffstat (limited to 'libsolidity/codegen/Compiler.h')
-rw-r--r--libsolidity/codegen/Compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/codegen/Compiler.h b/libsolidity/codegen/Compiler.h
index 5233cc91..06654486 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
- void assemblyStream(std::ostream& _stream, StringMap const& _sourceCodes = StringMap()) const
+ std::string assemblyString(StringMap const& _sourceCodes = StringMap()) const
{
- m_context.assemblyStream(_stream, _sourceCodes);
+ return m_context.assemblyString(_sourceCodes);
}
/// @arg _sourceCodes is the map of input files to source code strings
Json::Value assemblyJSON(StringMap const& _sourceCodes = StringMap()) const