aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerContext.h
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-04-14 17:38:36 +0800
committerLiana Husikyan <liana@ethdev.com>2015-04-17 23:41:50 +0800
commit1cfa9649901a0093816f9afac403d7931ab560be (patch)
treecb862bf27c322099e042a8e57571c4717ac7fba4 /CompilerContext.h
parentf829dad7e385aa9578d56fe926a4741f9f90c105 (diff)
downloaddexon-solidity-1cfa9649901a0093816f9afac403d7931ab560be.tar.gz
dexon-solidity-1cfa9649901a0093816f9afac403d7931ab560be.tar.zst
dexon-solidity-1cfa9649901a0093816f9afac403d7931ab560be.zip
style fixes
Diffstat (limited to 'CompilerContext.h')
-rw-r--r--CompilerContext.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/CompilerContext.h b/CompilerContext.h
index 3fcf0706..9c2156bf 100644
--- a/CompilerContext.h
+++ b/CompilerContext.h
@@ -122,8 +122,11 @@ public:
eth::Assembly const& getAssembly() const { return m_asm; }
/// @arg _sourceCodes is the map of input files to source code strings
- /// @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); }
+ /// @arg _inJsonFormat shows whether 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(); }