]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: implement OSTRUCTLIT and OARRAYLIT
authorKeith Randall <khr@golang.org>
Sat, 19 Sep 2015 05:12:38 +0000 (22:12 -0700)
committerKeith Randall <khr@golang.org>
Sat, 19 Sep 2015 18:21:02 +0000 (18:21 +0000)
commitd3886906b18d292643117b55c987ec9b35b226b3
treedcea206aa5000f4a3e26020896c03fe3405d7b05
parentb32217a2730b322f4bdc2a00ff9159bae853b939
[dev.ssa] cmd/compile: implement OSTRUCTLIT and OARRAYLIT

The frontend rewrites most literals, so we see only zero
ones during SSA construction.  We can implement those
using the existing zeroing behavior.

Change-Id: I390ad1be0a4b6729baf0c8936c7610aae2aef049
Reviewed-on: https://go-review.googlesource.com/14754
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/ssa.go