aboutsummaryrefslogtreecommitdiff
path: root/test/live.go
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2021-04-17 00:46:53 -0400
committerCherry Zhang <cherryyz@google.com>2021-04-19 14:42:58 +0000
commita9c244a849659a696a970b0cb862b2d1f66671bf (patch)
tree3d5c0946533143c44574a7bee535fee770b22a1b /test/live.go
parenta72622d028077643169dc48c90271a82021f0534 (diff)
downloadgo-a9c244a849659a696a970b0cb862b2d1f66671bf.tar.gz
go-a9c244a849659a696a970b0cb862b2d1f66671bf.zip
test: add liveness test for regabi
With defer/go wrapping and register arguments, some liveness info changed and live.go test was disabled for regabi. This CL adds a new one for regabi. Change-Id: I65f03a6ef156366d8b76c62a16251c3e818f4b02 Reviewed-on: https://go-review.googlesource.com/c/go/+/311369 Trust: Cherry Zhang <cherryyz@google.com> Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'test/live.go')
-rw-r--r--test/live.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/live.go b/test/live.go
index 6d1a475492..bc7b3849cf 100644
--- a/test/live.go
+++ b/test/live.go
@@ -3,7 +3,8 @@
// ppc64 needs a better tighten pass to make f18 pass
// rescheduling checks need to be turned off because there are some live variables across the inserted check call
-// TODO(register args): temporarily disabled when GOEXPERIMENT=regabi due to additional temporaries live at "go" statements when regabi is in effect.
+//
+// For register ABI, liveness info changes slightly. See live_regabi.go.
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style