add elem.drop and extend call_indirect to accept table index

This commit is contained in:
Ilya Rezvov
2023-08-21 21:11:39 -06:00
parent 2d15ddfa36
commit f445340568
7 changed files with 74 additions and 29 deletions
+1 -1
View File
@@ -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 ()