Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDeadStoreUnsafe (0.21 sec)

  1. src/cmd/compile/internal/ssa/deadstore_test.go

    	CheckFunc(fun.f)
    	cse(fun.f)
    	dse(fun.f)
    	CheckFunc(fun.f)
    
    	v := fun.values["store1"]
    	if v.Op == OpCopy {
    		t.Errorf("store %s incorrectly removed", v)
    	}
    }
    
    func TestDeadStoreUnsafe(t *testing.T) {
    	// Make sure a narrow store can't shadow a wider one. The test above
    	// covers the case of two different types, but unsafe pointer casting
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top