llgo/ssa: Slice, IndexAddr bugfix
This commit is contained in:
@@ -44,4 +44,9 @@ func SliceLen(s Slice) int {
|
||||
return s.len
|
||||
}
|
||||
|
||||
// SliceData returns the data pointer of a slice.
|
||||
func SliceData(s Slice) unsafe.Pointer {
|
||||
return s.data
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user