mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
commit
adbb6f78d0
@ -216,7 +216,7 @@ string compile(StringMap const& _sources, bool _optimize, CStyleReadFileCallback
|
||||
contractData["gasEstimates"] = estimateGas(compiler, contractName);
|
||||
auto sourceMap = compiler.sourceMapping(contractName);
|
||||
contractData["srcmap"] = sourceMap ? *sourceMap : "";
|
||||
auto runtimeSourceMap = compiler.sourceMapping(contractName);
|
||||
auto runtimeSourceMap = compiler.runtimeSourceMapping(contractName);
|
||||
contractData["srcmap-runtime"] = runtimeSourceMap ? *runtimeSourceMap : "";
|
||||
ostringstream unused;
|
||||
contractData["assembly"] = compiler.streamAssembly(unused, contractName, _sources, true);
|
||||
|
Loading…
Reference in New Issue
Block a user