[isoltest] Replace storage command with 'storage_empty' builtin.

This commit is contained in:
Alexander Arlt
2021-04-27 16:28:37 -05:00
parent 5852972ec1
commit 1f2711b0aa
28 changed files with 79 additions and 120 deletions
@@ -23,16 +23,16 @@ contract c {
// ====
// compileViaYul: also
// ----
// storage: empty
// storageEmpty -> 1
// set(uint256,bytes,uint256): 12, 0x60, 13, 33, "12345678901234567890123456789012", "3" -> true
// gas irOptimized: 124227
// gas legacy: 124736
// gas legacyOptimized: 124179
// test(uint256): 32 -> "3"
// storage: nonempty
// storageEmpty -> 0
// copy() -> true
// storage: empty
// storageEmpty -> 1
// set(uint256,bytes,uint256): 12, 0x60, 13, 33, "12345678901234567890123456789012", "3" -> true
// storage: nonempty
// storageEmpty -> 0
// del() -> true
// storage: empty
// storageEmpty -> 1