mirror of https://github.com/golang/go.git
Create an intrinsicBuilders type that has functions for adding and looking up intrinsics. This makes the implementation more self contained, readable and testable. Additionally, pass an *intrinsicBuildConfig to initIntrinsics to improve testability without needing to modify package level variables. Change-Id: I0ee0a19c192dd6da9f1c5f1c29b98a3ad8161fe2 Reviewed-on: https://go-review.googlesource.com/c/go/+/605478 Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Joel Sing <joel@sing.id.au> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@golang.org> |
||
|---|---|---|
| .. | ||
| cfg.go | ||
| cfg_test.go | ||
| exp.go | ||