File tree 2 files changed +2
-8
lines changed
2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -84,10 +84,7 @@ struct CopyTranslate: public yul::ASTCopier
84
84
// from the Yul dialect we are compiling to. So we are assuming here that the builtin
85
85
// functions are identical. This should not be a problem for now since everything
86
86
// is EVM anyway.
87
- if (m_dialect.findBuiltin (_name.str ()))
88
- return _name;
89
- else
90
- return yul::YulName{" usr$" + _name.str ()};
87
+ return yul::YulName{" usr$" + _name.str ()};
91
88
}
92
89
93
90
yul::Identifier translate (yul::Identifier const & _identifier) override
Original file line number Diff line number Diff line change @@ -72,10 +72,7 @@ struct CopyTranslate: public yul::ASTCopier
72
72
73
73
yul::YulName translateIdentifier (yul::YulName _name) override
74
74
{
75
- if (m_dialect.findBuiltin (_name.str ()))
76
- return _name;
77
- else
78
- return yul::YulName{" usr$" + _name.str ()};
75
+ return yul::YulName{" usr$" + _name.str ()};
79
76
}
80
77
81
78
yul::Identifier translate (yul::Identifier const & _identifier) override
You can’t perform that action at this time.
0 commit comments