llgo/ssa: MakeInterface

This commit is contained in:
xushiwei
2024-04-29 22:57:40 +08:00
parent 85bb1302ca
commit f64abf37ab
7 changed files with 40 additions and 14 deletions

View File

@@ -20,6 +20,8 @@ import (
"unsafe"
)
// -----------------------------------------------------------------------------
// String is the runtime representation of a string.
// It cannot be used safely or portably and its representation may
// change in a later release.
@@ -35,3 +37,5 @@ type String struct {
func EmptyString() String {
return String{nil, 0}
}
// -----------------------------------------------------------------------------