github.com/bananabytelabs/wazero@v0.0.0-20240105073314-54b22a776da8/internal/engine/wazevo/frontend/misc.go (about) 1 package frontend 2 3 import ( 4 "github.com/bananabytelabs/wazero/internal/engine/wazevo/ssa" 5 "github.com/bananabytelabs/wazero/internal/wasm" 6 ) 7 8 func FunctionIndexToFuncRef(idx wasm.Index) ssa.FuncRef { 9 return ssa.FuncRef(idx) 10 }