Merge pull request #7792 from ethereum/enableYulOptimizer

Enable yul optimizer by default.
This commit is contained in:
chriseth
2019-12-03 21:24:22 +01:00
committed by GitHub
20 changed files with 62 additions and 43 deletions
+1 -1
View File
@@ -1 +1 @@
Warning: Yul and its optimizer are still experimental. Please use the output with care.
Warning: Yul is still experimental. Please use the output with care.
@@ -60,5 +60,4 @@
)
)
"}}}},"errors":[{"component":"general","formattedMessage":"Warning: The Yul optimiser is still experimental. Do not use it in production unless correctness of generated code is verified with extensive tests.
","message":"The Yul optimiser is still experimental. Do not use it in production unless correctness of generated code is verified with extensive tests.","severity":"warning","type":"Warning"}],"sources":{"A":{"id":0}}}
"}}}},"sources":{"A":{"id":0}}}
@@ -0,0 +1,17 @@
{
"language": "Solidity",
"sources":
{
"A":
{
"content": "pragma solidity >=0.0; contract C { function f() public pure {} }"
}
},
"settings":
{
"optimizer": {
"enabled": true,
"details": { "yul": false }
}
}
}
@@ -0,0 +1 @@
{"sources":{"A":{"id":0}}}
@@ -10,8 +10,7 @@
"settings":
{
"optimizer": {
"enabled": true,
"details": { "yul": true }
"enabled": true
}
}
}
@@ -1,2 +1 @@
{"errors":[{"component":"general","formattedMessage":"Warning: The Yul optimiser is still experimental. Do not use it in production unless correctness of generated code is verified with extensive tests.
","message":"The Yul optimiser is still experimental. Do not use it in production unless correctness of generated code is verified with extensive tests.","severity":"warning","type":"Warning"}],"sources":{"A":{"id":0}}}
{"sources":{"A":{"id":0}}}
@@ -1,2 +1 @@
{"errors":[{"component":"general","formattedMessage":"Warning: The Yul optimiser is still experimental. Do not use it in production unless correctness of generated code is verified with extensive tests.
","message":"The Yul optimiser is still experimental. Do not use it in production unless correctness of generated code is verified with extensive tests.","severity":"warning","type":"Warning"}],"sources":{"A":{"id":0}}}
{"sources":{"A":{"id":0}}}
+1 -1
View File
@@ -1,4 +1,4 @@
Warning: Yul and its optimizer are still experimental. Please use the output with care.
Warning: Yul is still experimental. Please use the output with care.
Error: Function not found.
--> strict_asm_jump/input.sol:1:3:
|
+1 -1
View File
@@ -1 +1 @@
Warning: Yul and its optimizer are still experimental. Please use the output with care.
Warning: Yul is still experimental. Please use the output with care.
+1 -1
View File
@@ -1,4 +1,4 @@
Warning: Yul and its optimizer are still experimental. Please use the output with care.
Warning: Yul is still experimental. Please use the output with care.
Exception while assembling:
Dynamic exception type:
std::exception::what: Variable a1 is 17 slot(s) too deep inside the stack.