abi.Name; runtime: MakeAnyInt => MakeAnyIntptr; llgo/ssa: AllocU; builtin unsafe.String; MakeInterface; prog.PointerSize
This commit is contained in:
@@ -99,6 +99,10 @@ func (p Program) SizeOf(typ Type, n ...int64) uint64 {
|
||||
return size
|
||||
}
|
||||
|
||||
func (p Program) PointerSize() int {
|
||||
return p.td.PointerSize()
|
||||
}
|
||||
|
||||
func (p Program) Slice(typ Type) Type {
|
||||
return p.rawType(types.NewSlice(typ.raw.Type))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user