diff options
author | Christian <c@ethdev.com> | 2015-01-28 15:50:53 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-04-22 17:33:25 +0800 |
commit | 83cc8dfe008341948306fd38e5405429753cb8d0 (patch) | |
tree | f9e8fca70aad6cbea6681f445414bb763a1637cd /Compiler.h | |
parent | a44bcb6909478543151cac871fdbbc4909ad54aa (diff) | |
download | dexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.tar dexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.tar.gz dexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.tar.bz2 dexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.tar.lz dexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.tar.xz dexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.tar.zst dexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.zip |
JSON compiler.
Diffstat (limited to 'Compiler.h')
-rw-r--r-- | Compiler.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,9 +43,9 @@ public: bytes getRuntimeBytecode() { return m_runtimeContext.getAssembledBytecode(m_optimize);} /// @arg _sourceCodes is the map of input files to source code strings /// @arg _inJsonFromat shows whether the out should be in Json format - void streamAssembly(std::ostream& _stream, StringMap const& _sourceCodes = StringMap(), bool _inJsonFormat = false) const + Json::Value streamAssembly(std::ostream& _stream, StringMap const& _sourceCodes = StringMap(), bool _inJsonFormat = false) const { - m_context.streamAssembly(_stream, _sourceCodes, _inJsonFormat); + return m_context.streamAssembly(_stream, _sourceCodes, _inJsonFormat); } /// @returns Assembly items of the normal compiler context eth::AssemblyItems const& getAssemblyItems() const { return m_context.getAssembly().getItems(); } |