]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ssa/gen: fix error message for wrong arg length
authorCherry Zhang <cherryyz@google.com>
Wed, 7 Sep 2016 16:06:43 +0000 (12:06 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 8 Sep 2016 16:28:02 +0000 (16:28 +0000)
commit70fd814f53ba57e6523363d865a6ba49063bfa15
tree12071c8d8317e2cb17e91c6a5178f47af0db8651
parentbec84c728a3ef14a15740f856d0fbcf6c7a70b01
cmd/compile/internal/ssa/gen: fix error message for wrong arg length

When arg length is wrong, op is not set, so it always prints
"should have 0 args".

Change-Id: If7bcb41d993919d0038d2a09e16188c79dfbd858
Reviewed-on: https://go-review.googlesource.com/28831
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/gen/rulegen.go