[yulopti] Run disambiguator after VarNameCleaner

- This is a trivial change and it makes it safe to use in combination with other step.
This commit is contained in:
cameel 2020-01-29 18:35:33 +01:00 committed by chriseth
parent 2ee7e6042b
commit ed5210490d

View File

@ -180,6 +180,8 @@ public:
break; break;
case 'l': case 'l':
VarNameCleaner::run(context, *m_ast); VarNameCleaner::run(context, *m_ast);
// VarNameCleaner destroys the unique names guarantee of the disambiguator.
disambiguated = false;
break; break;
case 'x': case 'x':
ExpressionSplitter::run(context, *m_ast); ExpressionSplitter::run(context, *m_ast);