Source file test/codegen/reflect_type.go
1 // asmcheck 2 3 // Copyright 2025 The Go Authors. All rights reserved. 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file. 6 7 package codegen 8 9 import "reflect" 10 11 func intPtrTypeSize() uintptr { 12 // amd64:"MOVL\t[$]8,",-"CALL" 13 // arm64:"MOVD\t[$]8,",-"CALL" 14 return reflect.TypeFor[*int]().Size() 15 } 16 17 func intPtrTypeKind() reflect.Kind { 18 // amd64:"MOVL\t[$]22,",-"CALL" 19 // arm64:"MOVD\t[$]22,",-"CALL" 20 return reflect.TypeFor[*int]().Kind() 21 } 22