mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
update using-the-compiler.rst with details of optimizer cleanup sequence
Removed duplicate lines and clarified the wording. Removed trailing whitespace. Update docs/using-the-compiler.rst Co-authored-by: matheusaaguiar <95899911+matheusaaguiar@users.noreply.github.com> Clarified behaviors. Updated text to meet suggestions.
This commit is contained in:
parent
2fb7205dd3
commit
4e035c41b6
@ -287,8 +287,18 @@ Input Description
|
|||||||
// Improve allocation of stack slots for variables, can free up stack slots early.
|
// Improve allocation of stack slots for variables, can free up stack slots early.
|
||||||
// Activated by default if the Yul optimizer is activated.
|
// Activated by default if the Yul optimizer is activated.
|
||||||
"stackAllocation": true,
|
"stackAllocation": true,
|
||||||
// Select optimization steps to be applied.
|
// Select optimization steps to be applied. It is also possible to modify both the
|
||||||
// Optional, the optimizer will use the default sequence if omitted.
|
// optimization sequence and the clean-up sequence. Instructions for each sequence
|
||||||
|
// are separated with the ":" delimiter and the values are provided in the form of
|
||||||
|
// optimization-sequence:clean-up-sequence. For more information see
|
||||||
|
// "The Optimizer > Selecting Optimizations".
|
||||||
|
// This field is optional, and if not provided, the default sequences for both
|
||||||
|
// optimization and clean-up are used. If only one of the options is provivded
|
||||||
|
// the other will not be run.
|
||||||
|
// If only the delimiter ":" is provided then neither the optimization nor the clean-up
|
||||||
|
// sequence will be run.
|
||||||
|
// If set to an empty value, only the default clean-up sequence is used and
|
||||||
|
// no optimization steps are applied.
|
||||||
"optimizerSteps": "dhfoDgvulfnTUtnIf..."
|
"optimizerSteps": "dhfoDgvulfnTUtnIf..."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user