mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove EWASM backend.
This commit is contained in:
@@ -7,6 +7,5 @@ contract C {
|
||||
return abi.decode(data, (uint256, bytes));
|
||||
}
|
||||
}
|
||||
|
||||
// ----
|
||||
// f(bytes): 0x20, 0x80, 0x21, 0x40, 0x7, "abcdefg" -> 0x21, 0x40, 0x7, "abcdefg"
|
||||
|
||||
@@ -3,6 +3,5 @@ contract C {
|
||||
return abi.decode(data, (uint256, bytes));
|
||||
}
|
||||
}
|
||||
|
||||
// ----
|
||||
// f(bytes): 0x20, 0x80, 0x21, 0x40, 0x7, "abcdefg" -> 0x21, 0x40, 0x7, "abcdefg"
|
||||
|
||||
@@ -6,7 +6,6 @@ contract C {
|
||||
return abi.decode(data, (uint256, bytes));
|
||||
}
|
||||
}
|
||||
|
||||
// ----
|
||||
// f(bytes): 0x20, 0x80, 0x21, 0x40, 0x7, "abcdefg" -> 0x21, 0x40, 0x7, "abcdefg"
|
||||
// gas irOptimized: 135693
|
||||
|
||||
@@ -44,6 +44,5 @@ contract C {
|
||||
return success;
|
||||
}
|
||||
}
|
||||
|
||||
// ----
|
||||
// callExternal() -> true
|
||||
|
||||
@@ -46,7 +46,6 @@ contract C is Base {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// ====
|
||||
// EVMVersion: >=byzantium
|
||||
// ----
|
||||
|
||||
@@ -21,6 +21,5 @@ contract C {
|
||||
return bytes4(a);
|
||||
}
|
||||
}
|
||||
|
||||
// ----
|
||||
// test() -> 0xa7a0d53700000000000000000000000000000000000000000000000000000000
|
||||
|
||||
@@ -15,8 +15,6 @@ contract C {
|
||||
return abi.encodeWithSelector(x, type(uint).max);
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// ----
|
||||
// f0() -> 0x20, 4, 8234104107246695022420661102507966550300666591269321702959126607540084801536
|
||||
// f1() -> 0x20, 0x64, 8234104107246695022420661102507966550300666591269321702959126607540084801536, 862718293348820473429344482784628181556388621521298319395315527974912, 91135606241822717681769169345594720818313984248279388438121731325952, 0
|
||||
|
||||
@@ -24,8 +24,6 @@ contract C {
|
||||
return abi.encodeWithSelector(x, type(uint).max, s, uint(3));
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// ----
|
||||
// f0() -> 0x20, 4, 8234104107246695022420661102507966550300666591269321702959126607540084801536
|
||||
// f1() -> 0x20, 0x64, 8234104107246695022420661102507966550300666591269321702959126607540084801536, 862718293348820473429344482784628181556388621521298319395315527974912, 91135606241822717681769169345594720818313984248279388438121731325952, 0
|
||||
|
||||
@@ -23,7 +23,5 @@ contract Test {
|
||||
return decoded[1][0];
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// ----
|
||||
// test() -> FAILURE
|
||||
|
||||
@@ -24,7 +24,5 @@ contract Test {
|
||||
return decoded[0][0] + decoded[1][0];
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// ----
|
||||
// withinArray() -> FAILURE
|
||||
|
||||
@@ -17,7 +17,5 @@ contract Test {
|
||||
return decoded[1][0];
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileToEwasm: also
|
||||
// ----
|
||||
// test() -> FAILURE
|
||||
|
||||
Reference in New Issue
Block a user