]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix dominator check in check()
authorKeith Randall <khr@golang.org>
Thu, 21 Apr 2016 00:29:50 +0000 (17:29 -0700)
committerKeith Randall <khr@golang.org>
Thu, 21 Apr 2016 02:53:53 +0000 (02:53 +0000)
commit4938d7b5fc06bbd137619eddd494a8cca288eb25
tree5e8fed6b9cd0101f971478a67fb5e514ae828dbd
parent9568d54fb8d89267304d23cac23190f55ec95683
cmd/compile: fix dominator check in check()

Ancestor comparison was the wrong way around, effectively
disabling the def-must-dominate-use check.

Update #15084

Change-Id: Ic56d674c5000569d2cc855bbb000a60eae517c7c
Reviewed-on: https://go-review.googlesource.com/22330
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/ssa/check.go