-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
829e958
commit 1a4859a
Showing
1 changed file
with
8 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,14 @@ | ||
module.exports = { | ||
configureYulOptimizer: true, | ||
solcOptimizerDetails: { | ||
yul: true, | ||
yulDetails: { | ||
optimizerSteps: | ||
"dhfoDgvlfnTUtnIf" + // None of these can make stack problems worse | ||
"[" + | ||
"xa[r]EsLM" + // Turn into SSA and simplify | ||
"CTUtTOntnfDIl" + // Perform structural simplification | ||
"Ll" + // Simplify again | ||
"Vl [j]" + // Reverse SSA | ||
// should have good "compilability" property here. | ||
|
||
"Tpel" + // Run functional expression inliner | ||
"xa[rl]" + // Prune a bit more in SSA | ||
"xa[r]L" + // Turn into SSA again and simplify | ||
"gvf" + // Run full inliner | ||
"CTUa[r]LSsTFOtfDna[r]Il" + // SSA plus simplify | ||
"]" + | ||
"jml[jl] VTOl jml : fDnTO", | ||
}, | ||
peephole: false, | ||
inliner: false, | ||
jumpdestRemover: false, | ||
orderLiterals: true, // <-- TRUE! Stack too deep when false | ||
deduplicate: false, | ||
cse: false, | ||
constantOptimizer: false, | ||
yul: false, | ||
}, | ||
skipFiles: ["test/", "libraries/"], | ||
}; |