mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[ewasm] Implement stop() in EVM->Ewasm translator
This commit is contained in:
parent
f1ed510045
commit
6d79a8885f
@ -1211,6 +1211,9 @@ function revert(x1, x2, x3, x4, y1, y2, y3, y4) {
|
|||||||
function invalid() {
|
function invalid() {
|
||||||
unreachable()
|
unreachable()
|
||||||
}
|
}
|
||||||
|
function stop() {
|
||||||
|
eth.finish(0:i32, 0:i32)
|
||||||
|
}
|
||||||
function memoryguard(x:i64) -> y1, y2, y3, y4 {
|
function memoryguard(x:i64) -> y1, y2, y3, y4 {
|
||||||
y4 := x
|
y4 := x
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user