mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Refactoring revertReasonIfDebug in YulUtilFunctions.
This commit is contained in:
@@ -36,7 +36,7 @@ object \"C_6\" {
|
||||
revert(0, 0)
|
||||
function abi_decode_tuple_(headStart, dataEnd)
|
||||
{
|
||||
if slt(sub(dataEnd, headStart), 0) { revert(0, 0) }
|
||||
if slt(sub(dataEnd, headStart), 0) { { revert(0, 0) } }
|
||||
}
|
||||
function abi_encode_tuple__to__fromStack(headStart) -> tail
|
||||
{ tail := add(headStart, 0) }
|
||||
|
||||
@@ -48,7 +48,11 @@ object \"C_6\" {
|
||||
revert(0, 0)
|
||||
|
||||
function abi_decode_tuple_(headStart, dataEnd) {
|
||||
if slt(sub(dataEnd, headStart), 0) { revert(0, 0) }
|
||||
if slt(sub(dataEnd, headStart), 0) { {
|
||||
|
||||
revert(0, 0)
|
||||
|
||||
} }
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,11 @@ object \"C_10\" {
|
||||
revert(0, 0)
|
||||
|
||||
function abi_decode_tuple_(headStart, dataEnd) {
|
||||
if slt(sub(dataEnd, headStart), 0) { revert(0, 0) }
|
||||
if slt(sub(dataEnd, headStart), 0) { {
|
||||
|
||||
revert(0, 0)
|
||||
|
||||
} }
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,11 @@ object \"C_10\" {
|
||||
revert(0, 0)
|
||||
|
||||
function abi_decode_tuple_(headStart, dataEnd) {
|
||||
if slt(sub(dataEnd, headStart), 0) { revert(0, 0) }
|
||||
if slt(sub(dataEnd, headStart), 0) { {
|
||||
|
||||
revert(0, 0)
|
||||
|
||||
} }
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,11 @@ object \"C_10\" {
|
||||
revert(0, 0)
|
||||
|
||||
function abi_decode_tuple_(headStart, dataEnd) {
|
||||
if slt(sub(dataEnd, headStart), 0) { revert(0, 0) }
|
||||
if slt(sub(dataEnd, headStart), 0) { {
|
||||
|
||||
revert(0, 0)
|
||||
|
||||
} }
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,11 @@ object \"C_10\" {
|
||||
revert(0, 0)
|
||||
|
||||
function abi_decode_tuple_(headStart, dataEnd) {
|
||||
if slt(sub(dataEnd, headStart), 0) { revert(0, 0) }
|
||||
if slt(sub(dataEnd, headStart), 0) { {
|
||||
|
||||
revert(0, 0)
|
||||
|
||||
} }
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,11 @@ object \"C_10\" {
|
||||
revert(0, 0)
|
||||
|
||||
function abi_decode_tuple_(headStart, dataEnd) {
|
||||
if slt(sub(dataEnd, headStart), 0) { revert(0, 0) }
|
||||
if slt(sub(dataEnd, headStart), 0) { {
|
||||
|
||||
revert(0, 0)
|
||||
|
||||
} }
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user