mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
21 lines
271 B
Plaintext
21 lines
271 B
Plaintext
// Cannot replace `let b := x` by `let b := a` since a is out of scope.
|
|
{
|
|
let x
|
|
{
|
|
let a := sload(0)
|
|
x := a
|
|
}
|
|
let b := x
|
|
}
|
|
// ----
|
|
// step: rematerialiser
|
|
//
|
|
// {
|
|
// let x
|
|
// {
|
|
// let a := sload(0)
|
|
// x := a
|
|
// }
|
|
// let b := x
|
|
// }
|