diff options
author | chriseth <chris@ethereum.org> | 2017-06-06 21:37:43 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-06-08 21:52:45 +0800 |
commit | ef3d5874fefa6a86a30d4afdcfd269d599edda5d (patch) | |
tree | b97381cf9e39d55cd42c585255f7903c7687bcdc /libsolidity/interface/AssemblyStack.h | |
parent | 19f707aeaa23b55a4a5940977a9d6351d1f06938 (diff) | |
download | dexon-solidity-ef3d5874fefa6a86a30d4afdcfd269d599edda5d.tar.gz dexon-solidity-ef3d5874fefa6a86a30d4afdcfd269d599edda5d.tar.zst dexon-solidity-ef3d5874fefa6a86a30d4afdcfd269d599edda5d.zip |
Remove error reporter from code generation phase.
Diffstat (limited to 'libsolidity/interface/AssemblyStack.h')
-rw-r--r-- | libsolidity/interface/AssemblyStack.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/interface/AssemblyStack.h b/libsolidity/interface/AssemblyStack.h index abecaae2..17d5f055 100644 --- a/libsolidity/interface/AssemblyStack.h +++ b/libsolidity/interface/AssemblyStack.h @@ -65,13 +65,13 @@ public: bool analyze(assembly::Block const& _block, Scanner const* _scanner = nullptr); /// Run the assembly step (should only be called after parseAndAnalyze). - eth::LinkerObject assemble(Machine _machine); + eth::LinkerObject assemble(Machine _machine) const; /// @returns the errors generated during parsing, analysis (and potentially assembly). ErrorList const& errors() const { return m_errors; } /// Pretty-print the input after having parsed it. - std::string print(); + std::string print() const; private: bool analyzeParsed(); |