aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerContext.h
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-04-17 23:41:41 +0800
committerLiana Husikyan <liana@ethdev.com>2015-04-17 23:41:41 +0800
commitf829dad7e385aa9578d56fe926a4741f9f90c105 (patch)
tree1fb021476ff61aeebaa016d9178210150fd38c1f /CompilerContext.h
parentc9812f7269704fcfa708d9b352b8344a5754a223 (diff)
downloaddexon-solidity-f829dad7e385aa9578d56fe926a4741f9f90c105.tar.gz
dexon-solidity-f829dad7e385aa9578d56fe926a4741f9f90c105.tar.zst
dexon-solidity-f829dad7e385aa9578d56fe926a4741f9f90c105.zip
added asm-json flag to cl compiler
Conflicts: libsolidity/CompilerStack.cpp
Diffstat (limited to 'CompilerContext.h')
-rw-r--r--CompilerContext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/CompilerContext.h b/CompilerContext.h
index e752d59b..3fcf0706 100644
--- a/CompilerContext.h
+++ b/CompilerContext.h
@@ -122,7 +122,8 @@ public:
eth::Assembly const& getAssembly() const { return m_asm; }
/// @arg _sourceCodes is the map of input files to source code strings
- void streamAssembly(std::ostream& _stream, StringMap const& _sourceCodes = StringMap()) const { m_asm.stream(_stream, "", _sourceCodes); }
+ /// @arg _inJsonFromat shows weather the out should be in Json format
+ void streamAssembly(std::ostream& _stream, StringMap const& _sourceCodes = StringMap(), bool _inJsonFormat = false) const { m_asm.stream(_stream, "", _sourceCodes, _inJsonFormat); }
bytes getAssembledBytecode(bool _optimize = false) { return m_asm.optimise(_optimize).assemble(); }