Fix Yul example.

This commit is contained in:
chriseth 2021-12-01 16:23:26 +01:00
parent 5d571bb111
commit 829fe6615b

View File

@ -529,13 +529,13 @@ The above would be transformed into
.. code-block:: yul .. code-block:: yul
{ {
let _1 = 0x20 let _1 := 0x20
let _2 = 0x456 let _2 := 0x456
let _3 = mload(_2) let _3 := mload(_2)
let _4 = mul(_3, _1) let _4 := mul(_3, _1)
let _5 = 0x123 let _5 := 0x123
let _6 = mload(_5) let _6 := mload(_5)
let z = add(_6, _4) let z := add(_6, _4)
} }
Note that this transformation does not change the order of opcodes or function calls. Note that this transformation does not change the order of opcodes or function calls.