mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests.
This commit is contained in:
parent
0f479132f5
commit
5fbf8260b9
@ -32,9 +32,6 @@
|
||||
// let _2 := not(31)
|
||||
// let newFreePtr := add(memPtr, and(add(and(add(length, 31), _2), 63), _2))
|
||||
// if or(gt(newFreePtr, _1), lt(newFreePtr, memPtr)) { revert(0, 0) }
|
||||
// mstore(64, newFreePtr)
|
||||
// mstore(memPtr, length)
|
||||
// extcodecopy(value, add(memPtr, 32), 0, length)
|
||||
// sstore(0, mload(memPtr))
|
||||
// sstore(0, length)
|
||||
// }
|
||||
// }
|
||||
|
@ -54,6 +54,7 @@
|
||||
// sstore(not(gcd(_3, _2)), _1)
|
||||
// sstore(2, _1)
|
||||
// extcodecopy(_1, msize(), _1, _1)
|
||||
// sstore(0, 0)
|
||||
// sstore(3, _1)
|
||||
// }
|
||||
// function gcd(_a, _b) -> out
|
||||
|
@ -20,6 +20,7 @@
|
||||
// f()
|
||||
// f()
|
||||
// f()
|
||||
// sstore(0, 1)
|
||||
// }
|
||||
// function f()
|
||||
// {
|
||||
|
@ -18,6 +18,7 @@
|
||||
// f()
|
||||
// f()
|
||||
// f()
|
||||
// sstore(0, 1)
|
||||
// }
|
||||
// function f()
|
||||
// {
|
||||
|
@ -11,7 +11,9 @@
|
||||
// {
|
||||
// {
|
||||
// let x := 0
|
||||
// calldatacopy(0, 0, 115792089237316195423570985008687907853269984665640564039457584007913129639935)
|
||||
// let _1 := 115792089237316195423570985008687907853269984665640564039457584007913129639935
|
||||
// let _2 := 0
|
||||
// let _3 := 0
|
||||
// mstore(x, 20)
|
||||
// return(0, 32)
|
||||
// }
|
||||
|
@ -25,7 +25,9 @@
|
||||
// a := calldataload(10)
|
||||
// let a_11 := a
|
||||
// }
|
||||
// calldatacopy(0x20, 0, a)
|
||||
// let a_13 := a
|
||||
// let _5 := 0
|
||||
// let _6 := 0x20
|
||||
// sstore(0, mload(0))
|
||||
// }
|
||||
// }
|
||||
|
Loading…
Reference in New Issue
Block a user