mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #6848 from ethereum/invertibleRelation
Implement references using InvertibleRelation as data structure.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
{
|
||||
let a := calldataload(0)
|
||||
let x := calldataload(0x20)
|
||||
x := a
|
||||
let z := 0
|
||||
x := z
|
||||
a := 9
|
||||
sstore(x, 3)
|
||||
}
|
||||
// ====
|
||||
// step: commonSubexpressionEliminator
|
||||
// ----
|
||||
// {
|
||||
// let a := calldataload(0)
|
||||
// let x := calldataload(0x20)
|
||||
// x := a
|
||||
// let z := 0
|
||||
// x := z
|
||||
// a := 9
|
||||
// sstore(z, 3)
|
||||
// }
|
||||
Reference in New Issue
Block a user