]> Cypherpunks repositories - gostls13.git/commit
exp/ssa: add dedicated Panic instruction.
authorAlan Donovan <adonovan@google.com>
Thu, 21 Feb 2013 17:14:33 +0000 (12:14 -0500)
committerAlan Donovan <adonovan@google.com>
Thu, 21 Feb 2013 17:14:33 +0000 (12:14 -0500)
commit92cbf82f1443223e21856f408b50821082babecc
tree17ebfafdcffddf8dd8e188c04966d3f3baa909ea
parent0ad88a481de7aeba15e5a8b3ee5af7141396b082
exp/ssa: add dedicated Panic instruction.

By avoiding the need for self-loops following calls to panic,
we reduce the number of basic blocks considerably.

R=gri
CC=golang-dev, iant
https://golang.org/cl/7403043
src/pkg/exp/ssa/builder.go
src/pkg/exp/ssa/emit.go
src/pkg/exp/ssa/interp/interp.go
src/pkg/exp/ssa/interp/ops.go
src/pkg/exp/ssa/print.go
src/pkg/exp/ssa/sanity.go
src/pkg/exp/ssa/ssa.go