Add inlining for old optimizer.

This commit is contained in:
Daniel Kirchner
2021-02-09 19:08:58 +01:00
parent e777cad78a
commit cb74a45fd6
43 changed files with 1463 additions and 74 deletions
+2
View File
@@ -80,6 +80,8 @@ explanatory purposes.
details: {
// peephole defaults to "true"
peephole: true,
// inliner defaults to "true"
inliner: true,
// jumpdestRemover defaults to "true"
jumpdestRemover: true,
orderLiterals: false,
+3
View File
@@ -246,6 +246,9 @@ Input Description
// The peephole optimizer is always on if no details are given,
// use details to switch it off.
"peephole": true,
// The inliner is always on if no details are given,
// use details to switch it off.
"inliner": true,
// The unused jumpdest remover is always on if no details are given,
// use details to switch it off.
"jumpdestRemover": true,