mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not allow msize in inline assembly if the Yul optimizer is active.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
let a := 1
|
||||
let b := keccak256(1, 1)
|
||||
sstore(0, msize())
|
||||
}
|
||||
// ====
|
||||
// step: unusedPruner
|
||||
// ----
|
||||
// {
|
||||
// pop(keccak256(1, 1))
|
||||
// sstore(0, msize())
|
||||
// }
|
||||
Reference in New Issue
Block a user