forked from GitHub/haskell-wasm
add elem.drop and extend call_indirect to accept table index
This commit is contained in:
@@ -655,7 +655,7 @@ callIndirect :: (Producer index, OutType index ~ Proxy I32, Returnable res) => T
|
||||
callIndirect (TypeDef idx) index args = do
|
||||
sequence_ args
|
||||
produce index
|
||||
appendExpr [CallIndirect idx]
|
||||
appendExpr [CallIndirect 0 idx]
|
||||
return returnableValue
|
||||
|
||||
br :: Label t -> GenFun ()
|
||||
|
||||
Reference in New Issue
Block a user