|
3 | 3 | Important Bugfixes:
|
4 | 4 | * Code Generation: Fix data corruption that affected ABI-encoding of calldata values represented by tuples: structs at any nesting level; argument lists of external functions, events and errors; return value lists of external functions. The 32 leading bytes of the first dynamically-encoded value in the tuple would get zeroed when the last component contained a statically-encoded array.
|
5 | 5 |
|
6 |
| -Language Features: |
7 |
| - |
8 | 6 |
|
9 | 7 | Compiler Features:
|
| 8 | + * Code Generator: More efficient code for checked addition and subtraction. |
10 | 9 | * TypeChecker: Support using library constants in initializers of other constants.
|
11 | 10 | * Yul IR Code Generation: Improved copy routines for arrays with packed storage layout.
|
12 |
| - * Yul Optimizer: Add rule to convert `mod(mul(X, Y), A)` into `mulmod(X, Y, A)`, if `A` is a power of two. |
13 |
| - * Yul Optimizer: Add rule to convert `mod(add(X, Y), A)` into `addmod(X, Y, A)`, if `A` is a power of two. |
14 |
| - * Code Generator: More efficient code for checked addition and subtraction. |
| 11 | + * Yul Optimizer: Add rule to convert ``mod(add(X, Y), A)`` into ``addmod(X, Y, A)``, if ``A`` is a power of two. |
| 12 | + * Yul Optimizer: Add rule to convert ``mod(mul(X, Y), A)`` into ``mulmod(X, Y, A)``, if ``A`` is a power of two. |
15 | 13 |
|
16 | 14 |
|
17 | 15 | Bugfixes:
|
18 | 16 | * Commandline Interface: Disallow the following options outside of the compiler mode: ``--via-ir``,``--metadata-literal``, ``--metadata-hash``, ``--model-checker-show-unproved``, ``--model-checker-div-mod-no-slacks``, ``--model-checker-engine``, ``--model-checker-invariants``, ``--model-checker-solvers``, ``--model-checker-timeout``, ``--model-checker-contracts``, ``--model-checker-targets``.
|
19 |
| - * Type Checker: Fix null dereference in `abi.encodeCall` type checking of free function. |
20 |
| - * Type Checker: Fix compiler crash when `abi.encodeCall` received a tuple expression instead of an inline tuple. |
21 | 17 | * Type Checker: Fix compiler crash on tuple assignments involving certain patterns with unary tuples on the left-hand side.
|
| 18 | + * Type Checker: Fix compiler crash when ``abi.encodeCall`` received a tuple expression instead of an inline tuple. |
| 19 | + * Type Checker: Fix null dereference in ``abi.encodeCall`` type checking of free function. |
22 | 20 |
|
23 | 21 |
|
24 | 22 | ### 0.8.15 (2022-06-15)
|
|
0 commit comments