Split out the JSON functionality from assembly.stream()

This commit is contained in:
Alex Beregszaszi
2017-09-11 15:48:52 +01:00
parent 55d2a459a9
commit a535a8b06e
10 changed files with 67 additions and 46 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ std::string dev::eth::compileLLLToAsm(std::string const& _src, bool _opt, std::v
auto assembly = CodeFragment::compile(_src, cs).assembly(cs);
if (_opt)
assembly = assembly.optimise(true);
assembly.stream(ret);
assembly.assemblyStream(ret);
for (auto i: cs.treesToKill)
killBigints(i);
return ret.str();