Do not allow msize in inline assembly if the Yul optimizer is active.

This commit is contained in:
chriseth
2019-05-28 12:54:33 +02:00
parent d7b5ea6761
commit df96648b1c
9 changed files with 85 additions and 7 deletions
+1 -1
View File
@@ -250,7 +250,7 @@ bool CompilerStack::analyze()
bool noErrors = true;
try {
SyntaxChecker syntaxChecker(m_errorReporter);
SyntaxChecker syntaxChecker(m_errorReporter, m_optimiserSettings.runYulOptimiser);
for (Source const* source: m_sourceOrder)
if (!syntaxChecker.checkSyntax(*source->ast))
noErrors = false;