mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Mark viaIR code generation as non-experimental.
This commit is contained in:
@@ -140,8 +140,7 @@ by checking if the lowest bit is set: short (not set) and long (set).
|
||||
|
||||
.. note::
|
||||
Handling invalidly encoded slots is currently not supported but may be added in the future.
|
||||
If you are compiling via the experimental IR-based compiler pipeline, reading an invalidly encoded
|
||||
slot results in a ``Panic(0x22)`` error.
|
||||
If you are compiling via IR, reading an invalidly encoded slot results in a ``Panic(0x22)`` error.
|
||||
|
||||
JSON Output
|
||||
===========
|
||||
|
||||
@@ -23,7 +23,7 @@ call completely.
|
||||
Currently, the parameter ``--optimize`` activates the opcode-based optimizer for the
|
||||
generated bytecode and the Yul optimizer for the Yul code generated internally, for example for ABI coder v2.
|
||||
One can use ``solc --ir-optimized --optimize`` to produce an
|
||||
optimized experimental Yul IR for a Solidity source. Similarly, one can use ``solc --strict-assembly --optimize``
|
||||
optimized Yul IR for a Solidity source. Similarly, one can use ``solc --strict-assembly --optimize``
|
||||
for a stand-alone Yul mode.
|
||||
|
||||
You can find more details on both optimizer modules and their optimization steps below.
|
||||
|
||||
Reference in New Issue
Block a user