solidity/test/libyul/yulOptimizerTests/nameDisplacer/funtion_call.yul
2019-06-19 14:55:38 +02:00

26 lines
693 B
Plaintext

{
let x := illegal4(1, 2)
function illegal4(illegal1, illegal2) -> illegal3 { illegal3 := add(illegal1, illegal2) }
{
let y := illegal5(3, 4)
function illegal5(illegal1, illegal2) -> illegal3 { illegal3 := add(illegal1, illegal2) }
}
}
// ====
// step: nameDisplacer
// ----
// {
// let x := illegal4_1(1, 2)
// function illegal4_1(illegal1_2, illegal2_3) -> illegal3_4
// {
// illegal3_4 := add(illegal1_2, illegal2_3)
// }
// {
// let y := illegal5_5(3, 4)
// function illegal5_5(illegal1_1, illegal2_2) -> illegal3_3
// {
// illegal3_3 := add(illegal1_1, illegal2_2)
// }
// }
// }