Source file test/codegen/smallintiface.go

     1  // asmcheck
     2  
     3  package codegen
     4  
     5  // Copyright 2020 The Go Authors. All rights reserved.
     6  // Use of this source code is governed by a BSD-style
     7  // license that can be found in the LICENSE file.
     8  
     9  func booliface() interface{} {
    10  	// amd64:`LEAQ\truntime.staticuint64s\+8\(SB\)`
    11  	return true
    12  }
    13  
    14  func smallint8iface() interface{} {
    15  	// amd64:`LEAQ\truntime.staticuint64s\+2024\(SB\)`
    16  	return int8(-3)
    17  }
    18  
    19  func smalluint8iface() interface{} {
    20  	// amd64:`LEAQ\truntime.staticuint64s\+24\(SB\)`
    21  	return uint8(3)
    22  }
    23  

View as plain text