mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove // compileViaYul: also
This commit is contained in:
@@ -23,7 +23,6 @@ contract Creator {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f(uint256,address[]): 7, 0x40, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 -> 7, 8
|
||||
// gas irOptimized: 437093
|
||||
|
||||
@@ -21,6 +21,5 @@ contract Derived is Base {
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// getA() -> 49
|
||||
|
||||
@@ -23,7 +23,6 @@ contract Creator {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f(uint256,bytes): 7, 0x40, 78, "abcdefghijklmnopqrstuvwxyzabcdef", "ghijklmnopqrstuvwxyzabcdefghijkl", "mnopqrstuvwxyz" -> 7, "h"
|
||||
// gas irOptimized: 293203
|
||||
|
||||
@@ -7,7 +7,6 @@ contract Test {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(): 7, 0x40, 78, "abcdefghijklmnopqrstuvwxyzabcdef", "ghijklmnopqrstuvwxyzabcdefghijkl", "mnopqrstuvwxyz" ->
|
||||
// gas irOptimized: 283829
|
||||
|
||||
@@ -29,7 +29,6 @@ contract C {
|
||||
}
|
||||
// ====
|
||||
// EVMVersion: >homestead
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f(uint256), 2000 ether: 0 -> true
|
||||
// f(uint256), 2000 ether: 100 -> false
|
||||
|
||||
@@ -16,7 +16,6 @@ contract Main {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(): "abc", true
|
||||
// gas irOptimized: 106683
|
||||
|
||||
@@ -34,7 +34,6 @@ contract Main {
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// getFlag() -> true
|
||||
// getName() -> "abc"
|
||||
|
||||
@@ -4,6 +4,5 @@ contract D {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(): 0xfdd67305928fcac8d213d1e47bfa6165cd0b87b946644cd0000000000000000 ->
|
||||
|
||||
@@ -16,7 +16,6 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> 16
|
||||
// gas legacy: 103488
|
||||
|
||||
@@ -9,7 +9,6 @@ contract C {
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(): 1, 2, 3, 4 ->
|
||||
// gas irOptimized: 174020
|
||||
|
||||
@@ -15,7 +15,6 @@ contract B {
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// testIt() ->
|
||||
// test() -> 2
|
||||
|
||||
@@ -21,6 +21,5 @@ contract Derived is Base {
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// getA() -> 2
|
||||
|
||||
@@ -17,6 +17,5 @@ contract Test {
|
||||
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// getName() -> "abc"
|
||||
|
||||
-1
@@ -27,6 +27,5 @@ contract Test {
|
||||
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// getName() -> "def\x00\x00\x00"
|
||||
|
||||
-1
@@ -16,7 +16,6 @@ contract Derived is Base {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// getBMember() -> 5
|
||||
// getDMember() -> 6
|
||||
|
||||
@@ -16,7 +16,6 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f(), 2000 ether -> true
|
||||
// gas irOptimized: 120037
|
||||
|
||||
@@ -19,6 +19,5 @@ contract X is D, C, B, A {
|
||||
constructor() A(f(1)) C(f(2)) B(f(3)) D(f(4)) {}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// g() -> 0x20, 4, 1, 3, 2, 4
|
||||
|
||||
@@ -4,6 +4,5 @@ contract C {
|
||||
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(), 27 wei ->
|
||||
|
||||
@@ -18,7 +18,6 @@ contract C {
|
||||
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// use(uint256): 3 -> 6
|
||||
// result_in_constructor() -> 4
|
||||
|
||||
@@ -19,7 +19,6 @@ contract C {
|
||||
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// use(uint16): 3 -> 0xfff9
|
||||
// result_in_constructor() -> 0xfffb
|
||||
|
||||
-1
@@ -16,6 +16,5 @@ contract C {
|
||||
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// t() -> 7
|
||||
|
||||
-1
@@ -18,6 +18,5 @@ contract C {
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// t() -> 7
|
||||
|
||||
Reference in New Issue
Block a user