diff --git a/docs/internals/optimizer.rst b/docs/internals/optimizer.rst index 7d168d220..d3df1b600 100644 --- a/docs/internals/optimizer.rst +++ b/docs/internals/optimizer.rst @@ -27,7 +27,7 @@ optimized Yul IR for a Solidity source. Similarly, one can use ``solc --strict-a for a stand-alone Yul mode. .. note:: - The `peephole optimizer `_ and the inliner are always + The `peephole optimizer `_ is always enabled by default and can only be turned off via the :ref:`Standard JSON `. You can find more details on both optimizer modules and their optimization steps below. diff --git a/docs/metadata.rst b/docs/metadata.rst index d71235653..c87722bb2 100644 --- a/docs/metadata.rst +++ b/docs/metadata.rst @@ -153,8 +153,8 @@ explanatory purposes. "constantOptimizer": false, "cse": false, "deduplicate": false, - // inliner defaults to "true" - "inliner": true, + // inliner defaults to "false" + "inliner": false, // jumpdestRemover defaults to "true" "jumpdestRemover": true, "orderLiterals": false, diff --git a/docs/using-the-compiler.rst b/docs/using-the-compiler.rst index 4c94923e0..d43c78e7c 100644 --- a/docs/using-the-compiler.rst +++ b/docs/using-the-compiler.rst @@ -272,9 +272,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 inliner is always off if no details are given, + // use details to switch it on. + "inliner": false, // The unused jumpdest remover is always on if no details are given, // use details to switch it off. "jumpdestRemover": true, @@ -647,4 +647,4 @@ Error Types 12. ``FatalError``: Fatal error not processed correctly - this should be reported as an issue. 13. ``YulException``: Error during Yul code generation - this should be reported as an issue. 14. ``Warning``: A warning, which didn't stop the compilation, but should be addressed if possible. -15. ``Info``: Information that the compiler thinks the user might find useful, but is not dangerous and does not necessarily need to be addressed. \ No newline at end of file +15. ``Info``: Information that the compiler thinks the user might find useful, but is not dangerous and does not necessarily need to be addressed.