diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-30 09:17:15 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-09-11 22:53:20 +0800 |
commit | bbfb16cf5ce903150bc3a141ac50553d8bf6d346 (patch) | |
tree | a79144b2c970f097f3bd1c8a6b3cdc27d0670ce8 /libsolidity/codegen/CompilerContext.h | |
parent | 50570c6c794eee01af64751c884fb6cb68f8dffc (diff) | |
download | dexon-solidity-bbfb16cf5ce903150bc3a141ac50553d8bf6d346.tar.gz dexon-solidity-bbfb16cf5ce903150bc3a141ac50553d8bf6d346.tar.zst dexon-solidity-bbfb16cf5ce903150bc3a141ac50553d8bf6d346.zip |
Introduce assemblyString
Diffstat (limited to 'libsolidity/codegen/CompilerContext.h')
-rw-r--r-- | libsolidity/codegen/CompilerContext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/codegen/CompilerContext.h b/libsolidity/codegen/CompilerContext.h index 47d4edde..5116585e 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 - void assemblyStream(std::ostream& _stream, StringMap const& _sourceCodes = StringMap()) const + std::string assemblyString(StringMap const& _sourceCodes = StringMap()) const { - m_asm->assemblyStream(_stream, "", _sourceCodes); + return m_asm->assemblyString(_sourceCodes); } /// @arg _sourceCodes is the map of input files to source code strings |