summaryrefslogtreecommitdiff
path: root/vendor/github.com/tetratelabs/wazero/internal/engine/wazevo/ssa/funcref.go
blob: d9620762aeac4a6de183bd10107bc3b4e40395f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package ssa

import "fmt"

// FuncRef is a unique identifier for a function of the frontend,
// and is used to reference the function in function call.
type FuncRef uint32

// String implements fmt.Stringer.
func (r FuncRef) String() string {
	return fmt.Sprintf("f%d", r)
}