mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Simplify test and add Changelog entry.
This commit is contained in:
+2
-2
@@ -2,7 +2,7 @@
|
||||
let a := calldataload(0)
|
||||
let b := calldataload(0x20)
|
||||
let x := sub(a, b)
|
||||
if gt(x, 0) {
|
||||
if iszero(x) {
|
||||
sstore(0, 1)
|
||||
}
|
||||
}
|
||||
@@ -12,5 +12,5 @@
|
||||
// {
|
||||
// let _1 := 0
|
||||
// let a := calldataload(_1)
|
||||
// if iszero(eq(a, calldataload(0x20))) { sstore(_1, 1) }
|
||||
// if eq(a, calldataload(0x20)) { sstore(_1, 1) }
|
||||
// }
|
||||
Reference in New Issue
Block a user