mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove empty settings.
This commit is contained in:
@@ -4,6 +4,5 @@ contract C {
|
||||
return success;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// f() -> true
|
||||
|
||||
-1
@@ -25,6 +25,5 @@ contract C {
|
||||
return multi_slot_function(this.foo, this.foo)() + single_slot_function(5, 1);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// test() -> 12
|
||||
|
||||
@@ -10,7 +10,6 @@ contract C {
|
||||
function bal() external returns (uint) { return address(this).balance; }
|
||||
receive() external payable {}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// (), 1 ether
|
||||
// call() -> 1, 2, 2, 2
|
||||
|
||||
@@ -9,7 +9,6 @@ contract D {
|
||||
return new C().i();
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// f() -> 2
|
||||
// gas legacy: 101599
|
||||
|
||||
@@ -13,7 +13,6 @@ contract D {
|
||||
return c.i();
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// constructor(): 2 ->
|
||||
// gas irOptimized: 200217
|
||||
|
||||
@@ -10,7 +10,6 @@ contract C {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// ----
|
||||
// g(uint256): 4 -> 5
|
||||
// f(uint256): 2 -> 5
|
||||
|
||||
@@ -21,7 +21,6 @@ contract C {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// ----
|
||||
// constructor(), 1 ether ->
|
||||
// gas irOptimized: 303935
|
||||
|
||||
@@ -10,7 +10,6 @@ contract C {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// ----
|
||||
// g(uint256), 1 ether: 4 -> 1000000000000000000000, 4
|
||||
// f(uint256), 11 ether: 2 -> 10000, 2
|
||||
|
||||
@@ -37,7 +37,6 @@ contract test {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// ----
|
||||
// constructor(), 20 wei ->
|
||||
// gas irOptimized: 270609
|
||||
|
||||
@@ -36,7 +36,6 @@ contract test {
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// ----
|
||||
// constructor(), 20 wei ->
|
||||
// gas irOptimized: 270609
|
||||
|
||||
@@ -16,7 +16,6 @@ contract test {
|
||||
return (a[0][key], a[1][key], b[0][key], b[1][key]);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// set(uint8,uint8,uint8,uint8,uint8): 1, 21, 22, 42, 43 -> 0, 0, 0, 0
|
||||
// gas irOptimized: 111909
|
||||
|
||||
@@ -14,7 +14,6 @@ contract test {
|
||||
return (a[key], b[key]);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// set(uint8,uint8,uint8): 1, 21, 42 -> 0, 0
|
||||
// get(uint8): 1 -> 21, 42
|
||||
|
||||
@@ -17,7 +17,6 @@ contract test {
|
||||
return (a[0], a[1], a[2], b[0], b[1], b[2]);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// ----
|
||||
// g() -> 0, 42, 0, 0, 84, 21
|
||||
// h() -> 0, 42, 0, 0, 84, 17
|
||||
|
||||
Reference in New Issue
Block a user