aboutsummaryrefslogtreecommitdiffstats
path: root/Compiler.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-28 15:50:53 +0800
committerchriseth <c@ethdev.com>2015-04-22 17:33:25 +0800
commit83cc8dfe008341948306fd38e5405429753cb8d0 (patch)
treef9e8fca70aad6cbea6681f445414bb763a1637cd /Compiler.h
parenta44bcb6909478543151cac871fdbbc4909ad54aa (diff)
downloaddexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.tar
dexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.tar.gz
dexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.tar.bz2
dexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.tar.lz
dexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.tar.xz
dexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.tar.zst
dexon-solidity-83cc8dfe008341948306fd38e5405429753cb8d0.zip
JSON compiler.
Diffstat (limited to 'Compiler.h')
-rw-r--r--Compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Compiler.h b/Compiler.h
index d476ec68..c3c3b9dc 100644
--- a/Compiler.h
+++ b/Compiler.h
@@ -43,9 +43,9 @@ public:
bytes getRuntimeBytecode() { return m_runtimeContext.getAssembledBytecode(m_optimize);}
/// @arg _sourceCodes is the map of input files to source code strings
/// @arg _inJsonFromat shows whether the out should be in Json format
- void streamAssembly(std::ostream& _stream, StringMap const& _sourceCodes = StringMap(), bool _inJsonFormat = false) const
+ Json::Value streamAssembly(std::ostream& _stream, StringMap const& _sourceCodes = StringMap(), bool _inJsonFormat = false) const
{
- m_context.streamAssembly(_stream, _sourceCodes, _inJsonFormat);
+ return m_context.streamAssembly(_stream, _sourceCodes, _inJsonFormat);
}
/// @returns Assembly items of the normal compiler context
eth::AssemblyItems const& getAssemblyItems() const { return m_context.getAssembly().getItems(); }