mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Introduce assemblyString
This commit is contained in:
@@ -60,9 +60,9 @@ public:
|
||||
/// @returns Only the runtime object (without constructor).
|
||||
eth::LinkerObject runtimeObject() const { return m_context.assembledRuntimeObject(m_runtimeSub); }
|
||||
/// @arg _sourceCodes is the map of input files to source code strings
|
||||
void assemblyStream(std::ostream& _stream, StringMap const& _sourceCodes = StringMap()) const
|
||||
std::string assemblyString(StringMap const& _sourceCodes = StringMap()) const
|
||||
{
|
||||
m_context.assemblyStream(_stream, _sourceCodes);
|
||||
return m_context.assemblyString(_sourceCodes);
|
||||
}
|
||||
/// @arg _sourceCodes is the map of input files to source code strings
|
||||
Json::Value assemblyJSON(StringMap const& _sourceCodes = StringMap()) const
|
||||
|
||||
@@ -209,9 +209,9 @@ public:
|
||||
eth::Assembly& nonConstAssembly() { return *m_asm; }
|
||||
|
||||
/// @arg _sourceCodes is the map of input files to source code strings
|
||||
void assemblyStream(std::ostream& _stream, StringMap const& _sourceCodes = StringMap()) const
|
||||
std::string assemblyString(StringMap const& _sourceCodes = StringMap()) const
|
||||
{
|
||||
m_asm->assemblyStream(_stream, "", _sourceCodes);
|
||||
return m_asm->assemblyString(_sourceCodes);
|
||||
}
|
||||
|
||||
/// @arg _sourceCodes is the map of input files to source code strings
|
||||
|
||||
Reference in New Issue
Block a user