mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #8136 from imapp-pl/polyfill-mstore8
mstore8 polyfill
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
{
|
||||
mstore(0x30, not(0))
|
||||
mstore8(0x20, 0xaa)
|
||||
mstore8(0x25, 0xbbbb)
|
||||
mstore8(0x26, 0xcc)
|
||||
mstore8(0x3b, 0x11)
|
||||
sstore(0, mload(0x20))
|
||||
}
|
||||
// ----
|
||||
// Trace:
|
||||
// INVALID()
|
||||
// Memory dump:
|
||||
// 60: 00000000000000000000000000000000ffffffffffffffffffffffffffffffff
|
||||
// 20: aa0000000000cc000000000000000000ffffffffffffffffffffff11ffffffff
|
||||
// 60: aa0000000000cc000000000000000000ffffffffffffffffffffff11ffffffff
|
||||
// 80: ffffffffffffffffffffffffffffffff00000000000000000000000000000000
|
||||
// Storage dump:
|
||||
// 0000000000000000000000000000000000000000000000000000000000000000: aa0000000000cc000000000000000000ffffffffffffffffffffff11ffffffff
|
||||
|
||||
Reference in New Issue
Block a user