]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: recognize OpS390XLoweredNilCheck as a nil check in the scheduler
authorMichael Munday <munday@ca.ibm.com>
Fri, 23 Sep 2016 14:38:50 +0000 (10:38 -0400)
committerMichael Munday <munday@ca.ibm.com>
Fri, 23 Sep 2016 17:15:36 +0000 (17:15 +0000)
commit120e9ff34f577376f8d1c25a8966c88e0e92fee5
tree532ae9c48a527af4b1a6eb672091757bf20352b6
parent3311275ce8eef87a64b78589e0da0bf115f9be07
cmd/compile: recognize OpS390XLoweredNilCheck as a nil check in the scheduler

Before this change a nil check on s390x could be scheduled after the
target pointer has been dereferenced.

Change-Id: I7ea40a4b52f975739f6db183a2794be4981c4e3d
Reviewed-on: https://go-review.googlesource.com/29730
Run-TryBot: Michael Munday <munday@ca.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/schedule.go