diff options
| author | isharipo <iskander.sharipov@intel.com> | 2018-04-12 20:54:36 +0300 |
|---|---|---|
| committer | Ilya Tocar <ilya.tocar@intel.com> | 2018-04-24 15:51:15 +0000 |
| commit | cb44c8debb3c3b0157b569bc30367b21e7e3cded (patch) | |
| tree | 6643a54f8928e9986da424ca94df2d08ea764112 /src/testing/testing.go | |
| parent | d18f186b9b05be6efdba2b54e3506083ae7c4efc (diff) | |
| download | go-cb44c8debb3c3b0157b569bc30367b21e7e3cded.tar.xz | |
cmd/compile/internal/ssa: add Op{SP,SB} type checks to check.go
gc/ssa.go initilizes SP and SB values with TUINTPTR type.
Assign same type in SSA tests and modify check.go to catch
mismatching types for those ops.
This makes SSA tests more consistent.
Change-Id: I798440d57d00fb949d1a0cd796759c9b82a934bd
Reviewed-on: https://go-review.googlesource.com/106658
Run-TryBot: Iskander Sharipov <iskander.sharipov@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/testing/testing.go')
0 files changed, 0 insertions, 0 deletions
