...
1
2
3 package compiler
4
5 import (
6 "fmt"
7 "runtime"
8
9 "github.com/tetratelabs/wazero/internal/asm"
10 )
11
12
13 type archContext struct{}
14
15
16 func newCompiler() compiler {
17 panic(fmt.Sprintf("unsupported GOARCH %s", runtime.GOARCH))
18 }
19
20 func registerMaskShift(r asm.Register) (ret int) {
21 panic(fmt.Sprintf("unsupported GOARCH %s", runtime.GOARCH))
22 }
23
24 func registerFromMaskShift(s int) asm.Register {
25 panic(fmt.Sprintf("unsupported GOARCH %s", runtime.GOARCH))
26 }
27
View as plain text