Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ArrayInit (0.08 sec)

  1. test/codegen/stack.go

    // 386:"TEXT\t.*, [$]0-"
    // amd64:"TEXT\t.*, [$]0-"
    // arm:"TEXT\t.*, [$]0-" (spills return address)
    // arm64:"TEXT\t.*, [$]0-"
    // mips:"TEXT\t.*, [$]-4-"
    // ppc64x:"TEXT\t.*, [$]0-"
    // s390x:"TEXT\t.*, [$]0-"
    func ArrayInit(i, j int) [4]int {
    	return [4]int{i, 0, j, 0}
    }
    
    // Check that assembly output has matching offset and base register
    // (issue #21064).
    
    func check_asmout(b [2]int) int {
    	runtime.GC() // use some frame
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top