Prepare tests to be meaningful.

This commit is contained in:
chriseth
2021-10-13 17:56:43 +02:00
parent 1deda33e17
commit 95dbbdae22
8 changed files with 20 additions and 16 deletions
@@ -7,7 +7,7 @@ object "RunsTest1" {
object "Runtime" {
code {
let funcSel := shl(224, 0xabc12345)
mstore(0, funcSel)
sstore(0, funcSel)
}
}
}
+3 -4
View File
@@ -13,7 +13,7 @@ object "RunsTest1" {
object "Runtime" {
code {
{
mstore(0, 0xabc1234500000000000000000000000000000000000000000000000000000000)
sstore(0, 0xabc1234500000000000000000000000000000000000000000000000000000000)
}
}
}
@@ -21,7 +21,7 @@ object "RunsTest1" {
Binary representation:
602480600d600039806000f3fe7fabc1234500000000000000000000000000000000000000000000000000000000600052
602480600d600039806000f3fe7fabc1234500000000000000000000000000000000000000000000000000000000600055
Text representation:
/* "yul_optimize_runs/input.yul":106:125 */
@@ -47,6 +47,5 @@ sub_0: assembly {
/* "yul_optimize_runs/input.yul":277:278 */
0x00
/* "yul_optimize_runs/input.yul":270:288 */
mstore
sstore
}