mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fixup! fixup! Do not split zeros in ExpressionSplitter
This commit is contained in:
parent
d0fb088f19
commit
f9e562b334
@ -6,19 +6,21 @@
|
|||||||
// Evaluation order in Yul is right to left so fun_revert() should run first.
|
// Evaluation order in Yul is right to left so fun_revert() should run first.
|
||||||
empty(fun_return(), fun_revert())
|
empty(fun_return(), fun_revert())
|
||||||
}
|
}
|
||||||
|
// ====
|
||||||
|
// EVMVersion: >=shanghai
|
||||||
// ----
|
// ----
|
||||||
// step: fullInliner
|
// step: fullInliner
|
||||||
//
|
//
|
||||||
// {
|
// {
|
||||||
// {
|
// {
|
||||||
// let ret_7 := 0
|
// let ret_3 := 0
|
||||||
// revert(0, 0)
|
// revert(0, 0)
|
||||||
// let _1 := ret_7
|
// let _1 := ret_3
|
||||||
// let ret_1_10 := 0
|
// let ret_1_4 := 0
|
||||||
// return(0, 0)
|
// return(0, 0)
|
||||||
// let _2 := ret_1_10
|
// let _2 := ret_1_4
|
||||||
// let b_13 := _1
|
// let b_5 := _1
|
||||||
// let a_14 := _2
|
// let a_6 := _2
|
||||||
// }
|
// }
|
||||||
// function fun_revert() -> ret
|
// function fun_revert() -> ret
|
||||||
// { revert(0, 0) }
|
// { revert(0, 0) }
|
||||||
|
Loading…
Reference in New Issue
Block a user