mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[isoltest] Replace storage command with 'storage_empty' builtin.
This commit is contained in:
@@ -40,9 +40,9 @@ contract c {
|
||||
// gas irOptimized: 2470372
|
||||
// gas legacy: 2288641
|
||||
// gas legacyOptimized: 2258654
|
||||
// storage: empty
|
||||
// storageEmpty -> 1
|
||||
// clear() -> 0, 0
|
||||
// gas irOptimized: 1852821
|
||||
// gas legacy: 1727169
|
||||
// gas legacyOptimized: 1698931
|
||||
// storage: empty
|
||||
// storageEmpty -> 1
|
||||
|
||||
@@ -21,4 +21,4 @@ contract c {
|
||||
// setData1(uint256,uint256,uint256): 0, 0, 0 ->
|
||||
// copyStorageStorage() ->
|
||||
// getData2(uint256): 0 -> 0, 0
|
||||
// storage: empty
|
||||
// storageEmpty -> 1
|
||||
|
||||
@@ -22,4 +22,4 @@ contract c {
|
||||
// gas irOptimized: 257752
|
||||
// gas legacy: 255936
|
||||
// gas legacyOptimized: 254359
|
||||
// storage: empty
|
||||
// storageEmpty -> 1
|
||||
|
||||
@@ -14,10 +14,10 @@ contract c {
|
||||
// gas irOptimized: 163929
|
||||
// gas legacy: 164121
|
||||
// gas legacyOptimized: 163766
|
||||
// storage: nonempty
|
||||
// storageEmpty -> 0
|
||||
// copy(uint256,uint256): 1, 2 -> true
|
||||
// storage: nonempty
|
||||
// storageEmpty -> 0
|
||||
// copy(uint256,uint256): 99, 1 -> true
|
||||
// storage: nonempty
|
||||
// storageEmpty -> 0
|
||||
// copy(uint256,uint256): 99, 2 -> true
|
||||
// storage: empty
|
||||
// storageEmpty -> 1
|
||||
|
||||
+1
-1
@@ -43,4 +43,4 @@ contract C {
|
||||
// g() -> 0x40, 0xc0, 0x49, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738390000000000000000000000000000000000000000000000, 0x11, 0x3132333435363738393233343536373839000000000000000000000000000000
|
||||
// gas legacy: 100595
|
||||
// h() -> 0x40, 0x60, 0x00, 0x00
|
||||
// storage: empty
|
||||
// storageEmpty -> 1
|
||||
|
||||
@@ -12,6 +12,6 @@ contract c {
|
||||
// gas irOptimized: 163680
|
||||
// gas legacy: 163756
|
||||
// gas legacyOptimized: 163596
|
||||
// storage: nonempty
|
||||
// storageEmpty -> 0
|
||||
// reset() -> true
|
||||
// storage: empty
|
||||
// storageEmpty -> 1
|
||||
|
||||
Reference in New Issue
Block a user