diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-04-17 23:41:41 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-04-17 23:41:41 +0800 |
commit | f829dad7e385aa9578d56fe926a4741f9f90c105 (patch) | |
tree | 1fb021476ff61aeebaa016d9178210150fd38c1f /CompilerContext.h | |
parent | c9812f7269704fcfa708d9b352b8344a5754a223 (diff) | |
download | dexon-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.h | 3 |
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(); } |