aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-08-02 17:49:35 +0800
committerGitHub <noreply@github.com>2016-08-02 17:49:35 +0800
commitadbb6f78d00c0d3d52f6bd042d6b41ab36eafbf6 (patch)
treecdb686034f85af6eb3a89a95480c9bcf66229192
parentf44320269e5324ce0319e0bb256d3a95e2f817c6 (diff)
parentd3b2a1c77bb92c6aac8083417c9dd36eb8f9467c (diff)
downloaddexon-solidity-adbb6f78d00c0d3d52f6bd042d6b41ab36eafbf6.tar.gz
dexon-solidity-adbb6f78d00c0d3d52f6bd042d6b41ab36eafbf6.tar.zst
dexon-solidity-adbb6f78d00c0d3d52f6bd042d6b41ab36eafbf6.zip
Merge pull request #797 from yann300/sourceMapping
fix sourcemapping
-rw-r--r--solc/jsonCompiler.cpp2
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);