solidity/test/libyul/yulOptimizerTests/stackCompressor/unusedPrunerWithMSize.yul
2019-07-16 10:13:18 +02:00

37 lines
1.2 KiB
Plaintext

{
{
let _13_71 := 1
let _17_72 := pc()
let _22_75 := pc()
let _25_76 := pc()
let _30_80 := pc()
let _32_81 := pc()
// This should not be removed
pop(keccak256(1, 2))
let _104 := gt(not(_17_72), _13_71)
let _105 := 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
mstore(lt(or(gt(_13_71, or(or(gt(or(or(or(gt(or(gt(_105, _32_81), _13_71), _30_80), lt(or(_13_71, add(_25_76, _105)), _13_71)), _22_75), _13_71), _13_71), _104), _13_71)), _13_71), _13_71), _13_71)
foo_singlereturn_1()
}
function foo_singlereturn_1()
{
extcodecopy(1, msize(), 1, 1)
}
}
// ====
// step: stackCompressor
// ----
// {
// let _17_72 := pc()
// let _22_75 := pc()
// let _25_76 := pc()
// let _30_80 := pc()
// let _32_81 := pc()
// pop(keccak256(1, 2))
// let _105 := 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
// mstore(lt(or(gt(1, or(or(gt(or(or(or(gt(or(gt(_105, _32_81), 1), _30_80), lt(or(1, add(_25_76, _105)), 1)), _22_75), 1), 1), gt(not(_17_72), 1)), 1)), 1), 1), 1)
// foo_singlereturn_1()
// function foo_singlereturn_1()
// { extcodecopy(1, msize(), 1, 1) }
// }