[Sol2Yul] Implements codegen part for try/catch statements.

This commit is contained in:
Christian Parpart
2020-04-14 18:42:37 +02:00
committed by chriseth
parent 3b83365b42
commit d00d3c45b1
19 changed files with 454 additions and 121 deletions
@@ -99,6 +99,10 @@ public:
RevertStrings revertStrings() const { return m_revertStrings; }
/// @returns the variable name that can be used to inspect the success or failure of an external
/// function call that was invoked as part of the try statement.
std::string trySuccessConditionVariable(Expression const& _expression) const;
private:
langutil::EVMVersion m_evmVersion;
RevertStrings m_revertStrings;