mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove // compileViaYul: also
This commit is contained in:
@@ -24,7 +24,6 @@ contract test {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f(uint256[]): 32, 3, 1000, 1, 2 -> 3
|
||||
// f(uint256[]): 32, 3, 100, 500, 300 -> 600
|
||||
|
||||
@@ -5,6 +5,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> true
|
||||
|
||||
@@ -10,7 +10,6 @@ contract C {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: false
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// library: L
|
||||
// f() -> 7
|
||||
|
||||
@@ -9,7 +9,6 @@ contract C {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: false
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// library: D
|
||||
// f(uint256): 7 -> 0x2a
|
||||
|
||||
@@ -13,7 +13,6 @@ contract C {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: false
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// library: D
|
||||
// f() -> 3
|
||||
|
||||
@@ -24,6 +24,5 @@ contract test {
|
||||
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> 2
|
||||
|
||||
-1
@@ -14,7 +14,6 @@ contract test {
|
||||
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> true
|
||||
// flag() -> true
|
||||
|
||||
@@ -19,7 +19,6 @@ contract C {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// associated() -> 42
|
||||
// unassociated() -> 42
|
||||
|
||||
-1
@@ -26,6 +26,5 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// test() -> 12
|
||||
|
||||
@@ -11,7 +11,6 @@ contract C {
|
||||
receive() external payable {}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// (), 1 ether
|
||||
// call() -> 1, 2, 2, 2
|
||||
|
||||
@@ -24,7 +24,6 @@ contract C {
|
||||
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> FAILURE
|
||||
// g() -> FAILURE
|
||||
|
||||
@@ -14,7 +14,6 @@ contract collatz {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// run(uint256): 0 -> 0
|
||||
// run(uint256): 1 -> 1
|
||||
|
||||
@@ -13,7 +13,6 @@ contract C {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// intern() -> FAILURE, hex"4e487b71", 0x51 # This should throw exceptions #
|
||||
// extern() -> FAILURE
|
||||
|
||||
-1
@@ -18,6 +18,5 @@ contract C {
|
||||
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// t() -> FAILURE, hex"4e487b71", 0x51
|
||||
|
||||
-1
@@ -17,6 +17,5 @@ contract C {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// t() -> FAILURE, hex"4e487b71", 0x51
|
||||
|
||||
@@ -8,6 +8,5 @@ contract C {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> 1
|
||||
|
||||
@@ -10,7 +10,6 @@ contract D {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> 2
|
||||
// gas legacy: 101599
|
||||
|
||||
@@ -14,7 +14,6 @@ contract D {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(): 2 ->
|
||||
// gas irOptimized: 200217
|
||||
|
||||
@@ -15,7 +15,6 @@ contract D {
|
||||
}
|
||||
// ====
|
||||
// EVMVersion: >=constantinople
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(): 2 ->
|
||||
// gas irOptimized: 200380
|
||||
|
||||
@@ -23,7 +23,6 @@ contract C {
|
||||
}
|
||||
// ====
|
||||
// EVMVersion: >=byzantium
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// get() -> 0x00
|
||||
// assert0_delegated() -> 0x01, 0x40, 0x0
|
||||
|
||||
-1
@@ -24,7 +24,6 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// EVMVersion: <byzantium
|
||||
// ----
|
||||
// get() -> 0x00
|
||||
|
||||
@@ -4,6 +4,5 @@ contract test {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// b() -> 123
|
||||
|
||||
@@ -11,7 +11,6 @@ contract C {
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// g(uint256): 4 -> 5
|
||||
// f(uint256): 2 -> 5
|
||||
|
||||
@@ -19,7 +19,6 @@ contract C {
|
||||
|
||||
// ====
|
||||
// EVMVersion: >=byzantium
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f(uint256): 0 -> FAILURE
|
||||
// f(uint256): 1 -> FAILURE
|
||||
|
||||
@@ -19,6 +19,5 @@ contract C {
|
||||
|
||||
// ====
|
||||
// EVMVersion: >=byzantium
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// dt(uint256): 4 -> 6
|
||||
|
||||
@@ -22,7 +22,6 @@ contract C {
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(), 1 ether ->
|
||||
// gas irOptimized: 303935
|
||||
|
||||
-1
@@ -23,7 +23,6 @@ contract C {
|
||||
|
||||
// ====
|
||||
// EVMVersion: >=byzantium
|
||||
// compileViaYul: also
|
||||
// revertStrings: debug
|
||||
// ----
|
||||
// constructor(), 1 ether ->
|
||||
|
||||
@@ -11,7 +11,6 @@ contract C {
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// g(uint256), 1 ether: 4 -> 1000000000000000000000, 4
|
||||
// f(uint256), 11 ether: 2 -> 10000, 2
|
||||
|
||||
@@ -14,6 +14,5 @@ contract c {
|
||||
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// test(uint256,uint256): 2, 3 -> 9, 3
|
||||
|
||||
@@ -17,7 +17,6 @@ contract B is A {
|
||||
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> 2
|
||||
// g() -> 2
|
||||
|
||||
@@ -15,7 +15,6 @@ contract C {
|
||||
}
|
||||
// ====
|
||||
// EVMVersion: >=byzantium
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(), 20 wei
|
||||
// gas irOptimized: 212583
|
||||
|
||||
@@ -11,6 +11,5 @@ contract C {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> 7, 3
|
||||
|
||||
@@ -38,7 +38,6 @@ contract test {
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(), 20 wei ->
|
||||
// gas irOptimized: 270609
|
||||
|
||||
@@ -37,7 +37,6 @@ contract test {
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(), 20 wei ->
|
||||
// gas irOptimized: 270609
|
||||
|
||||
@@ -36,7 +36,6 @@ contract Child is Base {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// x() -> 0
|
||||
// y() -> 0
|
||||
|
||||
@@ -20,7 +20,6 @@ contract Child is Base {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// x() -> 0
|
||||
// y() -> 0
|
||||
|
||||
@@ -11,6 +11,5 @@ contract Child is Base {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// g(uint256): 4 -> 8
|
||||
|
||||
@@ -24,7 +24,6 @@ contract Child is Base {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// g(uint256): 4 -> 12
|
||||
// h(uint256): 4 -> 16
|
||||
|
||||
@@ -27,7 +27,6 @@ contract Child is Base {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// g(uint256): 4 -> 8
|
||||
// k(uint256): 4 -> 16
|
||||
|
||||
@@ -11,6 +11,5 @@ contract Child is Base {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// g(uint256): 4 -> 8
|
||||
|
||||
@@ -16,6 +16,5 @@ contract C is V
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// b() -> 42
|
||||
|
||||
-1
@@ -17,6 +17,5 @@ contract B is A, I {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> 42
|
||||
|
||||
-1
@@ -17,6 +17,5 @@ contract B is A, I {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> 42
|
||||
|
||||
@@ -17,7 +17,6 @@ contract test {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// set(uint8,uint8,uint8,uint8,uint8): 1, 21, 22, 42, 43 -> 0, 0, 0, 0
|
||||
// gas irOptimized: 111909
|
||||
|
||||
@@ -15,7 +15,6 @@ contract test {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// set(uint8,uint8,uint8): 1, 21, 42 -> 0, 0
|
||||
// get(uint8): 1 -> 21, 42
|
||||
|
||||
@@ -18,7 +18,6 @@ contract test {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// g() -> 0, 42, 0, 0, 84, 21
|
||||
// h() -> 0, 42, 0, 0, 84, 17
|
||||
|
||||
@@ -15,7 +15,6 @@ contract test {
|
||||
// ====
|
||||
// allowNonExistingFunctions: true
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// data() -> 8
|
||||
// name() -> "Celina"
|
||||
|
||||
@@ -7,7 +7,6 @@ contract test {
|
||||
// ====
|
||||
// allowNonExistingFunctions: true
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// a() -> 0
|
||||
// b() -> 1
|
||||
|
||||
@@ -5,6 +5,5 @@ contract test {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// run(bool,uint256): true, 0xcd -> 0xcd, true, 0
|
||||
|
||||
@@ -5,7 +5,6 @@ contract test {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// b() -> 123
|
||||
// c() -> 123
|
||||
|
||||
@@ -28,7 +28,6 @@ contract C {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// call(uint256): 0 -> 0
|
||||
// call(uint256): 1 -> 1
|
||||
|
||||
@@ -27,7 +27,6 @@ contract C {
|
||||
}
|
||||
// ====
|
||||
// EVMVersion: >=constantinople
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// testHighLevel() -> true
|
||||
// testLowLevel() -> 0xc76596d400000000000000000000000000000000000000000000000000000000
|
||||
|
||||
@@ -16,7 +16,6 @@ contract Main {
|
||||
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(), 20 wei ->
|
||||
// gas irOptimized: 100264
|
||||
|
||||
@@ -5,7 +5,6 @@ contract test {
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() ->
|
||||
// g() -> FAILURE
|
||||
|
||||
@@ -4,7 +4,6 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// compileToEwasm: also
|
||||
// ----
|
||||
// f(), 1 ether -> 1000000000000000000
|
||||
|
||||
Reference in New Issue
Block a user