mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #6325 from ethereum/alsoOutputOptimized
Also output optimized yul code if requested.
This commit is contained in:
1 file changed
+4
@@ -439,6 +439,10 @@ void CompilerContext::appendInlineAssembly(
|
||||
identifierAccess.resolve
|
||||
).analyze(*parserResult))
|
||||
reportError("Optimizer introduced error into inline assembly.");
|
||||
#ifdef SOL_OUTPUT_ASM
|
||||
cout << "After optimizer: " << endl;
|
||||
cout << yul::AsmPrinter()(*parserResult) << endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (!errorReporter.errors().empty())
|
||||
|
||||
Reference in new issue
Block a user