[ewasm] Implement stop() in EVM->Ewasm translator

This commit is contained in:
Alex Beregszaszi 2020-10-27 17:09:30 +00:00
parent f1ed510045
commit 6d79a8885f

View File

@ -1211,6 +1211,9 @@ function revert(x1, x2, x3, x4, y1, y2, y3, y4) {
function invalid() {
unreachable()
}
function stop() {
eth.finish(0:i32, 0:i32)
}
function memoryguard(x:i64) -> y1, y2, y3, y4 {
y4 := x
}