mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests
This commit is contained in:
@@ -10,7 +10,12 @@ object "C_3" {
|
||||
code {
|
||||
{
|
||||
mstore(64, 128)
|
||||
if callvalue() { revert(0, 0) }
|
||||
if callvalue()
|
||||
{
|
||||
mstore(0, shl(224, 0x4e487b71))
|
||||
mstore(4, 0x02)
|
||||
revert(0, 0x24)
|
||||
}
|
||||
let _1 := datasize("C_3_deployed")
|
||||
codecopy(128, dataoffset("C_3_deployed"), _1)
|
||||
return(128, _1)
|
||||
@@ -38,7 +43,12 @@ object "D_16" {
|
||||
code {
|
||||
{
|
||||
mstore(64, 128)
|
||||
if callvalue() { revert(0, 0) }
|
||||
if callvalue()
|
||||
{
|
||||
mstore(0, shl(224, 0x4e487b71))
|
||||
mstore(4, 0x02)
|
||||
revert(0, 0x24)
|
||||
}
|
||||
let _1 := datasize("D_16_deployed")
|
||||
codecopy(128, dataoffset("D_16_deployed"), _1)
|
||||
return(128, _1)
|
||||
@@ -53,7 +63,12 @@ object "D_16" {
|
||||
let _1 := 0
|
||||
if eq(0x26121ff0, shr(224, calldataload(_1)))
|
||||
{
|
||||
if callvalue() { revert(_1, _1) }
|
||||
if callvalue()
|
||||
{
|
||||
mstore(_1, shl(224, 0x4e487b71))
|
||||
mstore(4, 0x02)
|
||||
revert(_1, 0x24)
|
||||
}
|
||||
if slt(add(calldatasize(), not(3)), _1) { revert(_1, _1) }
|
||||
let _2 := datasize("C_3")
|
||||
let _3 := add(128, _2)
|
||||
@@ -80,7 +95,12 @@ object "D_16" {
|
||||
code {
|
||||
{
|
||||
mstore(64, 128)
|
||||
if callvalue() { revert(0, 0) }
|
||||
if callvalue()
|
||||
{
|
||||
mstore(0, shl(224, 0x4e487b71))
|
||||
mstore(4, 0x02)
|
||||
revert(0, 0x24)
|
||||
}
|
||||
let _1 := datasize("C_3_deployed")
|
||||
codecopy(128, dataoffset("C_3_deployed"), _1)
|
||||
return(128, _1)
|
||||
|
||||
Reference in New Issue
Block a user