aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-04-22 22:27:45 +0800
committerchriseth <c@ethdev.com>2015-04-22 22:28:21 +0800
commit61c7f29b46f0fc417d6cd90d15ef998e7482e6ab (patch)
treefeec9f4e22a69d90932bb9e6d4538cf7e1b1ee92
parentbe3f9e26814c2ea57ad42f5893802e7213d64dce (diff)
downloaddexon-solidity-61c7f29b46f0fc417d6cd90d15ef998e7482e6ab.tar
dexon-solidity-61c7f29b46f0fc417d6cd90d15ef998e7482e6ab.tar.gz
dexon-solidity-61c7f29b46f0fc417d6cd90d15ef998e7482e6ab.tar.bz2
dexon-solidity-61c7f29b46f0fc417d6cd90d15ef998e7482e6ab.tar.lz
dexon-solidity-61c7f29b46f0fc417d6cd90d15ef998e7482e6ab.tar.xz
dexon-solidity-61c7f29b46f0fc417d6cd90d15ef998e7482e6ab.tar.zst
dexon-solidity-61c7f29b46f0fc417d6cd90d15ef998e7482e6ab.zip
Actually output assembly in JSON format.
-rw-r--r--jsonCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonCompiler.cpp b/jsonCompiler.cpp
index 3079df69..6f3834af 100644
--- a/jsonCompiler.cpp
+++ b/jsonCompiler.cpp
@@ -101,7 +101,7 @@ string compile(string _input, bool _optimize)
contractData["bytecode"] = toHex(compiler.getBytecode(contractName));
contractData["opcodes"] = eth::disassemble(compiler.getBytecode(contractName));
ostringstream unused;
- contractData["assembly"] = compiler.streamAssembly(unused, contractName, sources);
+ contractData["assembly"] = compiler.streamAssembly(unused, contractName, sources, true);
output["contracts"][contractName] = contractData;
}