mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix mistake about default value for inliner setting
This commit is contained in:
parent
477b621f2e
commit
2260c23ce1
@ -27,7 +27,7 @@ optimized Yul IR for a Solidity source. Similarly, one can use ``solc --strict-a
|
|||||||
for a stand-alone Yul mode.
|
for a stand-alone Yul mode.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
The `peephole optimizer <https://en.wikipedia.org/wiki/Peephole_optimization>`_ and the inliner are always
|
The `peephole optimizer <https://en.wikipedia.org/wiki/Peephole_optimization>`_ is always
|
||||||
enabled by default and can only be turned off via the :ref:`Standard JSON <compiler-api>`.
|
enabled by default and can only be turned off via the :ref:`Standard JSON <compiler-api>`.
|
||||||
|
|
||||||
You can find more details on both optimizer modules and their optimization steps below.
|
You can find more details on both optimizer modules and their optimization steps below.
|
||||||
|
@ -153,8 +153,8 @@ explanatory purposes.
|
|||||||
"constantOptimizer": false,
|
"constantOptimizer": false,
|
||||||
"cse": false,
|
"cse": false,
|
||||||
"deduplicate": false,
|
"deduplicate": false,
|
||||||
// inliner defaults to "true"
|
// inliner defaults to "false"
|
||||||
"inliner": true,
|
"inliner": false,
|
||||||
// jumpdestRemover defaults to "true"
|
// jumpdestRemover defaults to "true"
|
||||||
"jumpdestRemover": true,
|
"jumpdestRemover": true,
|
||||||
"orderLiterals": false,
|
"orderLiterals": false,
|
||||||
|
@ -272,9 +272,9 @@ Input Description
|
|||||||
// The peephole optimizer is always on if no details are given,
|
// The peephole optimizer is always on if no details are given,
|
||||||
// use details to switch it off.
|
// use details to switch it off.
|
||||||
"peephole": true,
|
"peephole": true,
|
||||||
// The inliner is always on if no details are given,
|
// The inliner is always off if no details are given,
|
||||||
// use details to switch it off.
|
// use details to switch it on.
|
||||||
"inliner": true,
|
"inliner": false,
|
||||||
// The unused jumpdest remover is always on if no details are given,
|
// The unused jumpdest remover is always on if no details are given,
|
||||||
// use details to switch it off.
|
// use details to switch it off.
|
||||||
"jumpdestRemover": true,
|
"jumpdestRemover": true,
|
||||||
|
Loading…
Reference in New Issue
Block a user