Update tests.

This commit is contained in:
chriseth 2022-01-06 18:01:19 +01:00
parent 0f479132f5
commit 5fbf8260b9
6 changed files with 10 additions and 6 deletions

View File

@ -32,9 +32,6 @@
// let _2 := not(31) // let _2 := not(31)
// let newFreePtr := add(memPtr, and(add(and(add(length, 31), _2), 63), _2)) // let newFreePtr := add(memPtr, and(add(and(add(length, 31), _2), 63), _2))
// if or(gt(newFreePtr, _1), lt(newFreePtr, memPtr)) { revert(0, 0) } // if or(gt(newFreePtr, _1), lt(newFreePtr, memPtr)) { revert(0, 0) }
// mstore(64, newFreePtr) // sstore(0, length)
// mstore(memPtr, length)
// extcodecopy(value, add(memPtr, 32), 0, length)
// sstore(0, mload(memPtr))
// } // }
// } // }

View File

@ -54,6 +54,7 @@
// sstore(not(gcd(_3, _2)), _1) // sstore(not(gcd(_3, _2)), _1)
// sstore(2, _1) // sstore(2, _1)
// extcodecopy(_1, msize(), _1, _1) // extcodecopy(_1, msize(), _1, _1)
// sstore(0, 0)
// sstore(3, _1) // sstore(3, _1)
// } // }
// function gcd(_a, _b) -> out // function gcd(_a, _b) -> out

View File

@ -20,6 +20,7 @@
// f() // f()
// f() // f()
// f() // f()
// sstore(0, 1)
// } // }
// function f() // function f()
// { // {

View File

@ -18,6 +18,7 @@
// f() // f()
// f() // f()
// f() // f()
// sstore(0, 1)
// } // }
// function f() // function f()
// { // {

View File

@ -11,7 +11,9 @@
// { // {
// { // {
// let x := 0 // let x := 0
// calldatacopy(0, 0, 115792089237316195423570985008687907853269984665640564039457584007913129639935) // let _1 := 115792089237316195423570985008687907853269984665640564039457584007913129639935
// let _2 := 0
// let _3 := 0
// mstore(x, 20) // mstore(x, 20)
// return(0, 32) // return(0, 32)
// } // }

View File

@ -25,7 +25,9 @@
// a := calldataload(10) // a := calldataload(10)
// let a_11 := a // let a_11 := a
// } // }
// calldatacopy(0x20, 0, a) // let a_13 := a
// let _5 := 0
// let _6 := 0x20
// sstore(0, mload(0)) // sstore(0, mload(0))
// } // }
// } // }