Skip to content

Commit

Permalink
Yul: introduce YulNameRepository
Browse files Browse the repository at this point in the history
  • Loading branch information
clonker committed Aug 6, 2024
1 parent 5dbaa13 commit 89d67b0
Show file tree
Hide file tree
Showing 8 changed files with 818 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libyul/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ add_library(yul
Utilities.h
YulName.h
YulString.h
YulName.cpp
YulName.h
backends/evm/AbstractAssembly.h
backends/evm/AsmCodeGen.cpp
backends/evm/AsmCodeGen.h
Expand Down
2 changes: 2 additions & 0 deletions libyul/Dialect.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ struct Dialect
virtual Literal zeroLiteralForType(YulName _type) const;
virtual Literal trueLiteral() const;

virtual std::set<std::string> builtinNames() const { return {}; }

virtual std::set<YulName> fixedFunctionNames() const { return {}; }

Dialect() = default;
Expand Down
Loading

0 comments on commit 89d67b0

Please sign in to comment.