aboutsummaryrefslogtreecommitdiffstats
path: root/test/libjulia/yulOptimizerTests/expressionSplitter/inside_function.yul
diff options
context:
space:
mode:
Diffstat (limited to 'test/libjulia/yulOptimizerTests/expressionSplitter/inside_function.yul')
-rw-r--r--test/libjulia/yulOptimizerTests/expressionSplitter/inside_function.yul25
1 files changed, 15 insertions, 10 deletions
diff --git a/test/libjulia/yulOptimizerTests/expressionSplitter/inside_function.yul b/test/libjulia/yulOptimizerTests/expressionSplitter/inside_function.yul
index 8623f15d..53bbcea7 100644
--- a/test/libjulia/yulOptimizerTests/expressionSplitter/inside_function.yul
+++ b/test/libjulia/yulOptimizerTests/expressionSplitter/inside_function.yul
@@ -8,17 +8,22 @@
// ----
// expressionSplitter
// {
-// let _1 := mload(7)
-// let _2 := f(0, _1)
-// let x := mul(_2, 3)
+// let _1 := 3
+// let _2 := 7
+// let _3 := mload(_2)
+// let _4 := 0
+// let _5 := f(_4, _3)
+// let x := mul(_5, _1)
// function f(a, b) -> c
// {
-// let _3 := add(b, c)
-// let _4 := mload(_3)
-// c := mul(a, _4)
+// let _6 := add(b, c)
+// let _7 := mload(_6)
+// c := mul(a, _7)
// }
-// let _5 := mload(2)
-// let _6 := mload(2)
-// let _7 := f(_6, _5)
-// sstore(x, _7)
+// let _8 := 2
+// let _9 := mload(_8)
+// let _10 := 2
+// let _11 := mload(_10)
+// let _12 := f(_11, _9)
+// sstore(x, _12)
// }