Unify optimize yul code in CompilerContext/ContractCompiler

This commit is contained in:
Mathias Baumann
2020-02-11 13:55:47 +01:00
parent 1a3998648c
commit 80bd0f47cc
5 changed files with 41 additions and 53 deletions
+1
View File
@@ -155,6 +155,7 @@ function test_solc_behaviour()
rm "$stdout_path.bak"
else
sed -i.bak -e '/^Warning: This is a pre-release compiler version, please do not use it in production./d' "$stderr_path"
sed -i.bak -e 's/\(^[ ]*auxdata: \)0x[0-9a-f]*$/\1AUXDATA REMOVED/' "$stdout_path"
sed -i.bak -e 's/ Consider adding "pragma .*$//' "$stderr_path"
# Remove trailing empty lines. Needs a line break to make OSX sed happy.
sed -i.bak -e '1{/^$/d