diff options
Diffstat (limited to 'libgo/go/runtime/gcinfo_test.go')
-rw-r--r-- | libgo/go/runtime/gcinfo_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgo/go/runtime/gcinfo_test.go b/libgo/go/runtime/gcinfo_test.go index 4ac67dc..ca012bb 100644 --- a/libgo/go/runtime/gcinfo_test.go +++ b/libgo/go/runtime/gcinfo_test.go @@ -133,7 +133,7 @@ func infoBigStruct() []byte { typeScalar, typeScalar, typeScalar, typeScalar, // t int; y uint16; u uint64 typePointer, typeScalar, // i string } - case "arm64", "amd64", "mips64", "mips64le", "ppc64", "ppc64le", "s390x": + case "arm64", "amd64", "mips64", "mips64le", "ppc64", "ppc64le", "s390x", "wasm": return []byte{ typePointer, // q *int typeScalar, typeScalar, typeScalar, // w byte; e [17]byte @@ -186,6 +186,6 @@ var ( infoString = []byte{typePointer, typeScalar} infoSlice = []byte{typePointer, typeScalar, typeScalar} - infoEface = []byte{typePointer, typePointer} - infoIface = []byte{typePointer, typePointer} + infoEface = []byte{typeScalar, typePointer} + infoIface = []byte{typeScalar, typePointer} ) |