aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2017-02-28 14:01:59 -0800
committerKeith Randall <khr@golang.org>2017-02-28 22:16:23 +0000
commit0fe58bf6500a615e934e1ab2a7921dfbc2803cea (patch)
tree78a091d931b74171739fe9d27264bda640af6f72 /src/os/exec/exec.go
parent45055f21ab4b6005446e8d680f315ece410e75b5 (diff)
downloadgo-0fe58bf6500a615e934e1ab2a7921dfbc2803cea.tar.xz
cmd/compile: simplify load+op rules
There's no need to use @block rules, as canMergeLoad makes sure that the load and op are already in the same block. With no @block needed, we also don't need to set the type explicitly. It can just be inherited from the op being rewritten. Noticed while working on #19284. Change-Id: Ied8bcc8058260118ff7e166093112e29107bcb7e Reviewed-on: https://go-review.googlesource.com/37585 Run-TryBot: Keith Randall <khr@golang.org> Reviewed-by: Ilya Tocar <ilya.tocar@intel.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions