diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-15 03:24:53 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-15 04:21:26 +0800 |
commit | 18fc66765808c717c0ed5f3f2b3da979618c329d (patch) | |
tree | 8145f39b07bc6bf432880711163e57bc270b4ed0 /liblll/Compiler.cpp | |
parent | 398099f50eaa7a4862950914054dbe68d0eee67b (diff) | |
download | dexon-solidity-18fc66765808c717c0ed5f3f2b3da979618c329d.tar.gz dexon-solidity-18fc66765808c717c0ed5f3f2b3da979618c329d.tar.zst dexon-solidity-18fc66765808c717c0ed5f3f2b3da979618c329d.zip |
Remove obsolete Assembly::out
Diffstat (limited to 'liblll/Compiler.cpp')
-rw-r--r-- | liblll/Compiler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/liblll/Compiler.cpp b/liblll/Compiler.cpp index ea8b27af..05376cd5 100644 --- a/liblll/Compiler.cpp +++ b/liblll/Compiler.cpp @@ -69,10 +69,11 @@ std::string dev::eth::compileLLLToAsm(std::string const& _src, bool _opt, std::v { CompilerState cs; cs.populateStandard(); - string ret = CodeFragment::compile(_src, cs).assembly(cs).optimise(_opt).out(); + stringstream ret; + CodeFragment::compile(_src, cs).assembly(cs).optimise(_opt).stream(ret); for (auto i: cs.treesToKill) killBigints(i); - return ret; + return ret.str(); } catch (Exception const& _e) { |