diff options
author | yann300 <yann.levreau@gmail.com> | 2016-08-02 17:32:25 +0800 |
---|---|---|
committer | yann300 <yann.levreau@gmail.com> | 2016-08-02 17:32:25 +0800 |
commit | d3b2a1c77bb92c6aac8083417c9dd36eb8f9467c (patch) | |
tree | cdb686034f85af6eb3a89a95480c9bcf66229192 | |
parent | f44320269e5324ce0319e0bb256d3a95e2f817c6 (diff) | |
download | dexon-solidity-d3b2a1c77bb92c6aac8083417c9dd36eb8f9467c.tar.gz dexon-solidity-d3b2a1c77bb92c6aac8083417c9dd36eb8f9467c.tar.zst dexon-solidity-d3b2a1c77bb92c6aac8083417c9dd36eb8f9467c.zip |
sourcemapping
-rw-r--r-- | solc/jsonCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solc/jsonCompiler.cpp b/solc/jsonCompiler.cpp index 8fc42d73..20112103 100644 --- a/solc/jsonCompiler.cpp +++ b/solc/jsonCompiler.cpp @@ -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); |