aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
Commit message (Expand)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'BALSA_2_2_1'.BALSA_2_2_1nobody2003-12-091-182/+0
* bleah, add "" in for the "no" case in with_static_ldap.Chris Toshok2003-04-051-1/+1
* the existence of libldap.la should have no bearing on whether or not weChris Toshok2003-04-041-6/+2
* Update AC_DEFINEs to use the new syntax to make acconfig.h unnecessary.Dan Winship2003-02-051-1/+1
* First big sync of my GNOME 2 porting work (incomplete, and stillEttore Perazzoli2002-11-021-1/+17
* Remove this from here.Dan Winship2002-09-051-30/+0
* Move EVO_CHECK_LIB into here, and also create EVO_PURIFY_SUPPORT,Dan Winship2002-07-231-0/+200
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with solidity. If not, see <http://www.gnu.org/licenses/>. */ /** * Component that collects variables that are never assigned to and their * initial values. */ #pragma once #include <libyul/optimiser/ASTWalker.h> #include <string> #include <map> #include <set> namespace dev { namespace yul { /** * Class that walks the AST and stores the initial value of each variable * that is never assigned to. * * Prerequisite: Disambiguator */ class SSAValueTracker: public ASTWalker { public: using ASTWalker::operator(); virtual void operator()(VariableDeclaration const& _varDecl) override; virtual void operator()(Assignment const& _assignment) override; std::map<std::string, Expression const*> const& values() const { return m_values; } Expression const* value(std::string const& _name) const { return m_values.at(_name); } private: void setValue(std::string const& _name, Expression const* _value); std::map<std::string, Expression const*> m_values; }; } }