aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/testdata
diff options
context:
space:
mode:
authorKeith Randall <khr@google.com>2018-10-15 13:40:00 -0700
committerKeith Randall <khr@golang.org>2018-10-18 20:42:36 +0000
commit0d898353989308cd50c3a1eb5d180dbba9fa4393 (patch)
treef0d2020683ac5eda7ea394d18ba67272fa95dc7e /src/cmd/compile/internal/ssa/testdata
parent2d6a7593b5cde33546be7bb69f420d32df060a47 (diff)
downloadgo-0d898353989308cd50c3a1eb5d180dbba9fa4393.tar.gz
go-0d898353989308cd50c3a1eb5d180dbba9fa4393.zip
cmd/compile: fix gdb stepping test, take 2
The fix in CL 141649 is not right, the line in question got moved, not added. Not sure why the -u option didn't do the right thing when preparing the diff. Fixes #28198 Change-Id: I6d45fdbbd5a9487cc70da07ab84e090b689a57f5 Reviewed-on: https://go-review.googlesource.com/c/142298 Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/testdata')
-rw-r--r--src/cmd/compile/internal/ssa/testdata/hist.gdb-opt.nexts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cmd/compile/internal/ssa/testdata/hist.gdb-opt.nexts b/src/cmd/compile/internal/ssa/testdata/hist.gdb-opt.nexts
index b2f3216707..8664ea77c4 100644
--- a/src/cmd/compile/internal/ssa/testdata/hist.gdb-opt.nexts
+++ b/src/cmd/compile/internal/ssa/testdata/hist.gdb-opt.nexts
@@ -123,7 +123,6 @@ t = 0
92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)
91: n += a
90: t += i * a
-92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)
86: for i, a := range hist {
87: if a == 0 { //gdb-opt=(a,n,t)
a = 3
@@ -132,7 +131,6 @@ t = 3
92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)
91: n += a
90: t += i * a
-92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)
86: for i, a := range hist {
87: if a == 0 { //gdb-opt=(a,n,t)
a = 0
@@ -146,7 +144,6 @@ t = 9
92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)
91: n += a
90: t += i * a
-92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)
86: for i, a := range hist {
87: if a == 0 { //gdb-opt=(a,n,t)
a = 1
@@ -155,7 +152,6 @@ t = 17
92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)
91: n += a
90: t += i * a
-92: fmt.Fprintf(os.Stderr, "%d\t%d\t%d\t%d\t%d\n", i, a, n, i*a, t) //gdb-dbg=(n,i,t)
86: for i, a := range hist {
87: if a == 0 { //gdb-opt=(a,n,t)
a = 0