From d3b2a1c77bb92c6aac8083417c9dd36eb8f9467c Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 2 Aug 2016 11:32:25 +0200 Subject: sourcemapping --- solc/jsonCompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'solc/jsonCompiler.cpp') 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); -- cgit