diff options
| author | Michael Matloob <matloob@google.com> | 2015-05-30 01:03:06 -0400 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2015-06-10 15:01:13 +0000 |
| commit | 81ccf508aa4080d997bbb86a7cf3da710abbd969 (patch) | |
| tree | ee82951c81942de0c4789b4efdfe344fc2a9060a /src/cmd/compile/internal/ssa/func_test.go | |
| parent | 43a2676ff091d403b62ea59c72f4686fbfd546fc (diff) | |
| download | go-81ccf508aa4080d997bbb86a7cf3da710abbd969.tar.xz | |
[dev.ssa] cmd/compile/internal/ssa: add line numbers to Values
Change-Id: I1dfffd75cc1f49307c654f910f7133c03da6c84f
Reviewed-on: https://go-review.googlesource.com/10559
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/ssa/func_test.go')
| -rw-r--r-- | src/cmd/compile/internal/ssa/func_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/ssa/func_test.go b/src/cmd/compile/internal/ssa/func_test.go index 947a0b72c4..3f94589e8b 100644 --- a/src/cmd/compile/internal/ssa/func_test.go +++ b/src/cmd/compile/internal/ssa/func_test.go @@ -149,7 +149,7 @@ func Fun(c *Config, entry string, blocs ...bloc) fun { blocks[bloc.name] = b for _, valu := range bloc.valus { // args are filled in the second pass. - values[valu.name] = b.NewValue(valu.op, valu.t, valu.aux) + values[valu.name] = b.NewValue(0, valu.op, valu.t, valu.aux) } } // Connect the blocks together and specify control values. |
