-
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.
use 0.8.6 until bug fixed - sc-forks/solidity-coverage#863
- Loading branch information
1 parent
05dd9b8
commit 78b1db4
Showing
4 changed files
with
77 additions
and
63 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,14 +1,25 @@ | ||
module.exports = { | ||
configureYulOptimizer: true, | ||
solcOptimizerDetails: { | ||
peephole: false, | ||
inliner: false, | ||
jumpdestRemover: false, | ||
orderLiterals: true, // <-- TRUE! Stack too deep when false | ||
deduplicate: false, | ||
cse: false, | ||
constantOptimizer: false, | ||
yul: false, | ||
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", | ||
}, | ||
}, | ||
skipFiles: ["test/", "libraries/"], | ||
}; |
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
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
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