]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: change ssa compilation trigger
authorKeith Randall <khr@golang.org>
Sat, 12 Dec 2015 04:41:52 +0000 (20:41 -0800)
committerKeith Randall <khr@golang.org>
Fri, 18 Dec 2015 00:02:16 +0000 (00:02 +0000)
commit5b355a7907550d6fe457fdf6a92fc320d5a764d5
tree1da1f2ba335a684be3804dd690ee12e3587c3e7c
parent498933719287fbba1015c97d177a9bd4cfb9aada
[dev.ssa] cmd/compile: change ssa compilation trigger

We used to compile everything with SSA and then decide whether
to use the result or not.  It was useful when we were working
on coverage without much regard for correctness, but not so much now.

Instead, let's decide what we're going to compile and go through
the SSA compiler for only those functions.

TODO: next CL: get rid of all the UnimplementedF stuff.

Change-Id: If629addd8b62cd38ef553fd5d835114137885ce0
Reviewed-on: https://go-review.googlesource.com/17763
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/gc/pgen.go
src/cmd/compile/internal/gc/ssa.go