Also, define ssa:wrapnilchk intrinsic to check and gracefully fail when a T method is dynamically invoked via a nil *T receiver. + Test. A follow-up CL will add another intrinsic, ssa:memclr. + minor cleanups. LGTM=gri R=gri CC=golang-codereviews https://golang.org/cl/101170044 |
||
|---|---|---|
| .. | ||
| testdata | ||
| TODO | ||
| analysis.go | ||
| api.go | ||
| callgraph.go | ||
| constraint.go | ||
| doc.go | ||
| example_test.go | ||
| gen.go | ||
| intrinsics.go | ||
| labels.go | ||
| opt.go | ||
| pointer_test.go | ||
| print.go | ||
| reflect.go | ||
| solve.go | ||
| util.go | ||