fixup! fixup! Do not split zeros in ExpressionSplitter

This commit is contained in:
Nikola Matic 2023-07-25 20:17:09 +02:00
parent d0fb088f19
commit f9e562b334

View File

@ -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) }