aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Compiler.h2
-rw-r--r--CompilerContext.h7
-rw-r--r--CompilerStack.h2
3 files changed, 7 insertions, 4 deletions
diff --git a/Compiler.h b/Compiler.h
index 260aebd3..d476ec68 100644
--- a/Compiler.h
+++ b/Compiler.h
@@ -42,7 +42,7 @@ public:
bytes getAssembledBytecode() { return m_context.getAssembledBytecode(m_optimize); }
bytes getRuntimeBytecode() { return m_runtimeContext.getAssembledBytecode(m_optimize);}
/// @arg _sourceCodes is the map of input files to source code strings
- /// @arg _inJsonFromat shows weather the out should be in Json format
+ /// @arg _inJsonFromat shows whether the out should be in Json format
void streamAssembly(std::ostream& _stream, StringMap const& _sourceCodes = StringMap(), bool _inJsonFormat = false) const
{
m_context.streamAssembly(_stream, _sourceCodes, _inJsonFormat);
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(); }
diff --git a/CompilerStack.h b/CompilerStack.h
index ef3d0966..2e7c217d 100644
--- a/CompilerStack.h
+++ b/CompilerStack.h
@@ -102,7 +102,7 @@ public:
/// Streams a verbose version of the assembly to @a _outStream.
/// @arg _sourceCodes is the map of input files to source code strings
- /// @arg _inJsonFromat shows weather the out should be in Json format
+ /// @arg _inJsonFromat shows whether the out should be in Json format
/// Prerequisite: Successful compilation.
void streamAssembly(std::ostream& _outStream, std::string const& _contractName = "", StringMap _sourceCodes = StringMap(), bool _inJsonFormat = false) const;