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/interface/StandardCompiler.cpp | |
parent | 50570c6c794eee01af64751c884fb6cb68f8dffc (diff) | |
download | dexon-solidity-bbfb16cf5ce903150bc3a141ac50553d8bf6d346.tar.gz dexon-solidity-bbfb16cf5ce903150bc3a141ac50553d8bf6d346.tar.zst dexon-solidity-bbfb16cf5ce903150bc3a141ac50553d8bf6d346.zip |
Introduce assemblyString
Diffstat (limited to 'libsolidity/interface/StandardCompiler.cpp')
-rw-r--r-- | libsolidity/interface/StandardCompiler.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libsolidity/interface/StandardCompiler.cpp b/libsolidity/interface/StandardCompiler.cpp index c821a341..b4fbbef9 100644 --- a/libsolidity/interface/StandardCompiler.cpp +++ b/libsolidity/interface/StandardCompiler.cpp @@ -400,9 +400,7 @@ Json::Value StandardCompiler::compileInternal(Json::Value const& _input) // EVM Json::Value evmData(Json::objectValue); // @TODO: add ir - ostringstream tmp; - m_compilerStack.assemblyStream(tmp, contractName, createSourceList(_input)); - evmData["assembly"] = tmp.str(); + evmData["assembly"] = m_compilerStack.assemblyString(contractName, createSourceList(_input)); evmData["legacyAssembly"] = m_compilerStack.assemblyJSON(contractName, createSourceList(_input)); evmData["methodIdentifiers"] = m_compilerStack.methodIdentifiers(contractName); evmData["gasEstimates"] = m_compilerStack.gasEstimates(contractName); |