aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authormatloob <matloob@golang.org>2025-11-26 18:04:22 -0500
committerGopher Robot <gobot@golang.org>2025-11-26 15:58:19 -0800
commit21ebed0ac0a3f733811bea2355ed85d3b1bf6fbd (patch)
tree5da187276deff6ef95aee378f31f59e8311d8dd5 /src/testing
parenta3fb92a7100f3f2824d483ee0cbcf1264584b3e4 (diff)
downloadgo-21ebed0ac0a3f733811bea2355ed85d3b1bf6fbd.tar.xz
runtime: update mkmalloc to make generated code look nicer
This cl adds a new operation that can remove an if statement or replace it with its body if its condition is var or !var for some variable var that's being replaced with a constant. Change-Id: I864abf1f023b2a66b2299ca65d4f837d6a6a6964 Reviewed-on: https://go-review.googlesource.com/c/go/+/724940 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Michael Matloob <matloob@google.com> Auto-Submit: Michael Matloob <matloob@google.com>
Diffstat (limited to 'src/testing')
0 files changed, 0 insertions, 0 deletions