Actually output assembly in JSON format.

This commit is contained in:
chriseth 2015-04-22 16:27:45 +02:00
parent be3f9e2681
commit 61c7f29b46

View File

@ -101,7 +101,7 @@ string compile(string _input, bool _optimize)
contractData["bytecode"] = toHex(compiler.getBytecode(contractName));
contractData["opcodes"] = eth::disassemble(compiler.getBytecode(contractName));
ostringstream unused;
contractData["assembly"] = compiler.streamAssembly(unused, contractName, sources);
contractData["assembly"] = compiler.streamAssembly(unused, contractName, sources, true);
output["contracts"][contractName] = contractData;
}