aboutsummaryrefslogtreecommitdiff
path: root/test/live2.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2019-08-28 20:21:31 +0000
committerMatthew Dempsky <mdempsky@google.com>2019-08-28 20:28:13 +0000
commit777304a5d33390cd905765cb61fa6a16ac349d4e (patch)
tree52d82df64e6b5330c1f25f3a12d953c8a58f5e6e /test/live2.go
parentaced50af3b4d9e7ee7f34452a227780dce7ea511 (diff)
downloadgo-777304a5d33390cd905765cb61fa6a16ac349d4e.tar.gz
go-777304a5d33390cd905765cb61fa6a16ac349d4e.zip
Revert "cmd/compile: make isfat handle 1-element array, 1-field struct"
This reverts commit 53227762153afb39c979810bd59ec139e3c8127d. Reason for revert: broke js-wasm builder. Change-Id: If22762317c4a9e00f5060eb84377a4a52d601fca Reviewed-on: https://go-review.googlesource.com/c/go/+/192157 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'test/live2.go')
-rw-r--r--test/live2.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/live2.go b/test/live2.go
index 83a6cb7db6..cea312f075 100644
--- a/test/live2.go
+++ b/test/live2.go
@@ -27,14 +27,14 @@ func newT40() *T40 {
}
func bad40() {
- t := newT40() // ERROR "stack object ret T40$" "stack object .autotmp_[0-9]+ map.hdr\[int\]int$"
+ t := newT40() // ERROR "live at call to makemap: ret$" "stack object ret T40$" "stack object .autotmp_[0-9]+ map.hdr\[int\]int$"
printnl() // ERROR "live at call to printnl: ret$"
useT40(t)
}
func good40() {
ret := T40{} // ERROR "stack object ret T40$"
- ret.m = make(map[int]int, 42) // ERROR "stack object .autotmp_[0-9]+ map.hdr\[int\]int$"
+ ret.m = make(map[int]int, 42) // ERROR "live at call to makemap: ret$" "stack object .autotmp_[0-9]+ map.hdr\[int\]int$"
t := &ret
printnl() // ERROR "live at call to printnl: ret$"
useT40(t)