- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isNilCheck (0.13 sec)
-
src/cmd/compile/internal/ssa/nilcheck_test.go
deadcode(fun.f) CheckFunc(fun.f) foundDifferentCheck := false for _, b := range fun.f.Blocks { if b == fun.blocks["secondCheck"] && isNilCheck(b) { t.Errorf("secondCheck was not eliminated") } if b == fun.blocks["differentCheck"] && isNilCheck(b) { foundDifferentCheck = true } } if !foundDifferentCheck { t.Errorf("removed differentCheck, but shouldn't have") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 12.3K bytes - Viewed (0)