mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
style fixes
This commit is contained in:
parent
f829dad7e3
commit
1cfa964990
@ -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);
|
||||
|
@ -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(); }
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user