]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add valState to ssa sizeof tests
authorJosh Bleecher Snyder <josharian@gmail.com>
Sat, 3 Jun 2017 15:25:15 +0000 (08:25 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Sat, 3 Jun 2017 17:04:56 +0000 (17:04 +0000)
commitc99483feb816856da1d8f3fc5a59467c0e359f3f
tree5d9151aa48fd253596d0c27cde11d6f00ccd1f71
parente5d2104582674c5f03871512f290be5d0620b6ad
cmd/compile: add valState to ssa sizeof tests

I learned from CL 41770 that valState’s size
matters to compiler performance.
Encode that knowledge in a test.

Change-Id: I7c0fde6a4cf460017619dbcce1c1ddaa7af10239
Reviewed-on: https://go-review.googlesource.com/44737
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/sizeof_test.go