From 2aebb723efb1b7ae509ad3ccf0030103b080b5f6 Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 22 Apr 2015 16:27:45 +0200 Subject: [PATCH] Actually output assembly in JSON format. --- solc/jsonCompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solc/jsonCompiler.cpp b/solc/jsonCompiler.cpp index 3079df69f..6f3834af4 100644 --- a/solc/jsonCompiler.cpp +++ b/solc/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; }