diff options
author | Keith Randall <khr@golang.org> | 2016-08-31 12:30:46 -0700 |
---|---|---|
committer | Keith Randall <khr@golang.org> | 2016-08-31 20:34:39 +0000 |
commit | 33bb597d859e6d98b4abb27592cb925753764136 (patch) | |
tree | 5cc5489b4dd8e39c93cddbd1faacc3f5dc87cfff /src/cmd/compile/internal/ssa/check.go | |
parent | 00459f05e099d92b9ae4d50980b11767aca5e102 (diff) | |
download | go-33bb597d859e6d98b4abb27592cb925753764136.tar.gz go-33bb597d859e6d98b4abb27592cb925753764136.zip |
cmd/compile: print SizeAndAlign AuxInt values correctly
Makes the AuxInt arg to Move/Zero print in a readable format.
Change-Id: I12295959b00ff7c1638d35836cc6d64d112c11ca
Reviewed-on: https://go-review.googlesource.com/28271
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/ssa/check.go')
-rw-r--r-- | src/cmd/compile/internal/ssa/check.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/compile/internal/ssa/check.go b/src/cmd/compile/internal/ssa/check.go index bfedd47794..e99a485b14 100644 --- a/src/cmd/compile/internal/ssa/check.go +++ b/src/cmd/compile/internal/ssa/check.go @@ -165,6 +165,8 @@ func checkFunc(f *Func) { if !isExactFloat32(v) { f.Fatalf("value %v has an AuxInt value that is not an exact float32", v) } + case auxSizeAndAlign: + canHaveAuxInt = true case auxString, auxSym: canHaveAux = true case auxSymOff, auxSymValAndOff: |