]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: rename a local variable in shortcircuitBlock
authorJosh Bleecher Snyder <josharian@gmail.com>
Sat, 7 Mar 2020 21:53:15 +0000 (13:53 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Fri, 13 Mar 2020 19:41:40 +0000 (19:41 +0000)
commit74bc90a9a86365ca158a2d4e8697b0f4650e31c5
treee274250b6cb51455a9bf8bb6840e8bf7d774e06b
parentbe72e3c3ff21a22bf8162965533672994e670985
cmd/compile: rename a local variable in shortcircuitBlock

v is pretty generic. Subsequent changes will make this function
more complicated, so rename it now, independently, for easier review.

v is the control value for the block (or its underlying phi);
call it ctl.

Passes toolstash-check.

Updates #37608

Change-Id: I3fbae3344f1c95aff0a69c1e4f61ef637a54774e
Reviewed-on: https://go-review.googlesource.com/c/go/+/222917
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/shortcircuit.go