aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/mathbits.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2018-10-06 14:31:08 -0700
committerKeith Randall <khr@golang.org>2018-10-15 16:07:52 +0000
commit63e964e1741277c4da004e366111243f9ec942a2 (patch)
treed2ccfb193c1a30c3dab28e58bbef3b46ece19697 /test/codegen/mathbits.go
parent296b7aeae0b3231f2e943859b37108e5f9e130d3 (diff)
downloadgo-63e964e1741277c4da004e366111243f9ec942a2.tar.xz
cmd/compile: provide types for all order-allocated temporaries
Ensure that we correctly type the stack temps for regular closures, method function closures, and slice literals. Then we don't need to override the dummy types later. Furthermore, this allows order to reuse temporaries of these types. OARRAYLIT doesn't need a temporary as far as I can tell, so I removed that case from order. Change-Id: Ic58520fa50c90639393ff78f33d3c831d5c4acb9 Reviewed-on: https://go-review.googlesource.com/c/140306 Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'test/codegen/mathbits.go')
0 files changed, 0 insertions, 0 deletions