aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryann300 <yann.levreau@gmail.com>2016-08-02 17:32:25 +0800
committeryann300 <yann.levreau@gmail.com>2016-08-02 17:32:25 +0800
commitd3b2a1c77bb92c6aac8083417c9dd36eb8f9467c (patch)
treecdb686034f85af6eb3a89a95480c9bcf66229192
parentf44320269e5324ce0319e0bb256d3a95e2f817c6 (diff)
downloaddexon-solidity-d3b2a1c77bb92c6aac8083417c9dd36eb8f9467c.tar.gz
dexon-solidity-d3b2a1c77bb92c6aac8083417c9dd36eb8f9467c.tar.zst
dexon-solidity-d3b2a1c77bb92c6aac8083417c9dd36eb8f9467c.zip
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);