Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for f3a_ssa (0.09 sec)

  1. src/cmd/compile/internal/test/testdata/addressed_test.go

    //go:noinline
    func f3b_ssa(x int) interface{} { // ./foo.go:15: internal error: f3b_ssa ~r1 (type interface {}) recorded as live on entry
    	return &x
    }
    
    //go:noinline
    func f3c_ssa(y int) interface{} {
    	x := y
    	return &x
    }
    
    type V struct {
    	p    *V
    	w, x int64
    }
    
    func args(t *testing.T) {
    	v := V{p: nil, w: 1, x: 1}
    	a := V{p: &v, w: 2, x: 2}
    	b := V{p: &v, w: 0, x: 0}
    	i := v.args_ssa(a, b)
    	output += fmt.Sprintln("i=", i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/unsafe_test.go

    // conversions to/from uintptr around the call.
    // We arrange things very carefully to have to/from
    // conversions on either side of the call which cannot be
    // combined with any other conversions.
    func f_ssa() *[8]uint {
    	// Make x a uintptr pointing to where a points.
    	var x uintptr
    	if always {
    		x = uintptr(unsafe.Pointer(a))
    	} else {
    		x = 0
    	}
    	// Clobber the global pointer. The only live ref
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 3K bytes
    - Viewed (0)
  3. test/fixedbugs/issue12347.go

    // compile
    
    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func f_ssa(x int, p *int) {
    	if false {
    		y := x + 5
    		for {
    			*p = y
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 263 bytes
    - Viewed (0)
Back to top