aboutsummaryrefslogtreecommitdiffstats
path: root/test/libyul/yulOptimizerTests/ssaTransform
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-11-08 02:27:15 +0800
committerchriseth <chris@ethereum.org>2018-11-08 06:09:33 +0800
commit845899e3052cd2ff26ead7d503f0e1edd8654d02 (patch)
treeb1683eefae794dc7337b3d8943125b4fdc22e777 /test/libyul/yulOptimizerTests/ssaTransform
parentdeed8e21f6149a9712ebd77556cdb6e3b4b9c566 (diff)
downloaddexon-solidity-845899e3052cd2ff26ead7d503f0e1edd8654d02.tar.gz
dexon-solidity-845899e3052cd2ff26ead7d503f0e1edd8654d02.tar.zst
dexon-solidity-845899e3052cd2ff26ead7d503f0e1edd8654d02.zip
Use single counter for name dispenser for performance reasons.
Diffstat (limited to 'test/libyul/yulOptimizerTests/ssaTransform')
-rw-r--r--test/libyul/yulOptimizerTests/ssaTransform/function.yul12
-rw-r--r--test/libyul/yulOptimizerTests/ssaTransform/nested.yul20
2 files changed, 16 insertions, 16 deletions
diff --git a/test/libyul/yulOptimizerTests/ssaTransform/function.yul b/test/libyul/yulOptimizerTests/ssaTransform/function.yul
index b319d12e..995d16cc 100644
--- a/test/libyul/yulOptimizerTests/ssaTransform/function.yul
+++ b/test/libyul/yulOptimizerTests/ssaTransform/function.yul
@@ -13,11 +13,11 @@
// {
// let b_1 := add(b, a)
// b := b_1
-// let c_1 := add(c, b_1)
-// c := c_1
-// let d_1 := add(d, c_1)
-// d := d_1
-// let a_1 := add(a, d_1)
-// a := a_1
+// let c_2 := add(c, b_1)
+// c := c_2
+// let d_3 := add(d, c_2)
+// d := d_3
+// let a_4 := add(a, d_3)
+// a := a_4
// }
// }
diff --git a/test/libyul/yulOptimizerTests/ssaTransform/nested.yul b/test/libyul/yulOptimizerTests/ssaTransform/nested.yul
index 55adfc37..49a76953 100644
--- a/test/libyul/yulOptimizerTests/ssaTransform/nested.yul
+++ b/test/libyul/yulOptimizerTests/ssaTransform/nested.yul
@@ -17,16 +17,16 @@
// let a := a_1
// let a_2 := 2
// a := a_2
-// let b_1 := 3
-// let b := b_1
-// let b_2 := 4
-// b := b_2
+// let b_3 := 3
+// let b := b_3
+// let b_4 := 4
+// b := b_4
// {
-// let a_3 := 3
-// a := a_3
-// let a_4 := 4
-// a := a_4
+// let a_5 := 3
+// a := a_5
+// let a_6 := 4
+// a := a_6
// }
-// let a_5 := add(b_2, a)
-// a := a_5
+// let a_7 := add(b_4, a)
+// a := a_7
// }