From 4af55c78ebcacb5cfda1b573253cac6e6824d67a Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 26 May 2017 21:46:02 +0200 Subject: Introduce virtual blocks for function arguments. --- libsolidity/inlineasm/AsmScopeFiller.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libsolidity/inlineasm/AsmScopeFiller.h') diff --git a/libsolidity/inlineasm/AsmScopeFiller.h b/libsolidity/inlineasm/AsmScopeFiller.h index c7179b3b..42e80141 100644 --- a/libsolidity/inlineasm/AsmScopeFiller.h +++ b/libsolidity/inlineasm/AsmScopeFiller.h @@ -49,6 +49,7 @@ struct FunctionCall; struct Switch; struct Scope; +struct AsmAnalysisInfo; /** * Fills scopes with identifiers and checks for name clashes. @@ -57,8 +58,7 @@ struct Scope; class ScopeFiller: public boost::static_visitor { public: - using Scopes = std::map>; - ScopeFiller(Scopes& _scopes, ErrorList& _errors); + ScopeFiller(AsmAnalysisInfo& _info, ErrorList& _errors); bool operator()(assembly::Instruction const&) { return true; } bool operator()(assembly::Literal const&) { return true; } @@ -83,7 +83,7 @@ private: Scope& scope(assembly::Block const* _block); Scope* m_currentScope = nullptr; - Scopes& m_scopes; + AsmAnalysisInfo& m_info; ErrorList& m_errors; }; -- cgit