commit | 7e40627a0e595aa321efaf44f8507b678ee5eb1e | [log] [tgz] |
---|---|---|
author | Keith Randall <khr@golang.org> | Mon Apr 11 13:17:52 2016 -0700 |
committer | Keith Randall <khr@golang.org> | Mon Apr 11 20:49:22 2016 +0000 |
tree | 24da60b1679bf0e2f047b218766174e27e897450 | |
parent | 7f53391f6b7f2387a5ed00398d34b046c321966f [diff] [blame] |
cmd/compile: zero all three argstorage slots These changes were missed when going from 2 to 3 argstorage slots. https://go-review.googlesource.com/20296/ Change-Id: I930a307bb0b695bf1ae088030c9bbb6d14ca31d2 Reviewed-on: https://go-review.googlesource.com/21841 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
diff --git a/src/cmd/compile/internal/ssa/value.go b/src/cmd/compile/internal/ssa/value.go index fd4eb64..6c364ad 100644 --- a/src/cmd/compile/internal/ssa/value.go +++ b/src/cmd/compile/internal/ssa/value.go
@@ -185,6 +185,7 @@ } v.argstorage[0] = nil v.argstorage[1] = nil + v.argstorage[2] = nil v.Args = v.argstorage[:0] }