Merge pull request #9149 from ethereum/quickfix-pc-removal

Quickfix pc() removal from yul wasm backend
This commit is contained in:
chriseth 2020-06-08 16:59:46 +02:00 committed by GitHub
commit 295985eca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1023,11 +1023,6 @@ function sstore(x1, x2, x3, x4, y1, y2, y3, y4) {
eth.storageStore(0:i32, 32:i32) eth.storageStore(0:i32, 32:i32)
} }
// Needed?
function pc() -> z1, z2, z3, z4 {
// TODO implement
unreachable()
}
function gas() -> z1, z2, z3, z4 { function gas() -> z1, z2, z3, z4 {
z4 := eth.getGasLeft() z4 := eth.getGasLeft()
} }