tools/ssa
Alan Donovan d6eb8982f6 go.tools/ssa: two fixes to CallCommon.
(*CallCommon).Signature() now returns non-nil even for
built-ins.  Builtins are now created with specialized types for
each use.  Added sanity-check.

CallCommon.HasEllipsis field eliminated.  It was an incorrect
memoization of Signature().IsVariadic() used only for
printing.

Also: introduce and use newTypeVar utility.

R=gri
CC=golang-codereviews
https://golang.org/cl/46880044
2014-01-07 13:31:05 -05:00
..
interp go.tools/ssa: a blocking select's implicit "default" case should runtime-panic, not fall through. 2014-01-02 15:12:23 -05:00
ssautil go.tools/ssa: a blocking select's implicit "default" case should runtime-panic, not fall through. 2014-01-02 15:12:23 -05:00
testdata go.tools/ssa: fix crash on (new)(T) due to missing unparen() call. 2013-10-29 11:07:09 -04:00
blockopt.go go.tools/ssa: populate Function.Referrers(), for anon functions. 2013-11-07 10:08:51 -05:00
builder.go go.tools/ssa: two fixes to CallCommon. 2014-01-07 13:31:05 -05:00
builder_test.go go.tools/ssa: fix computation of set of types requiring method sets. 2013-10-23 17:07:52 -04:00
const.go go.tools/ssa: eliminate remaining uses of operands of "untyped" type. 2013-12-04 13:59:55 -05:00
create.go go.tools/ssa: two fixes to CallCommon. 2014-01-07 13:31:05 -05:00
doc.go go.tools/ssa: move AllFunctions to ssautil subpackage 2013-12-05 17:16:00 -05:00
dom.go go.tools/importer: move PathEnclosingInterval to package astutil. 2013-12-09 09:36:29 -05:00
emit.go go.tools/ssa: two fixes to CallCommon. 2014-01-07 13:31:05 -05:00
example_test.go go.tools/ssa: two fixes to CallCommon. 2014-01-07 13:31:05 -05:00
func.go go.tools/ssa: expose dominator tree of control-flow graph in API. 2013-12-05 09:50:18 -05:00
lift.go go.tools/ssa: expose dominator tree of control-flow graph in API. 2013-12-05 09:50:18 -05:00
lvalue.go go.tools/ssa: record lvalue/rvalue distinction precisely in DebugRef. 2013-10-24 18:31:50 -04:00
print.go go.tools/ssa: two fixes to CallCommon. 2014-01-07 13:31:05 -05:00
promote.go go.tools/ssa: two fixes to CallCommon. 2014-01-07 13:31:05 -05:00
sanity.go go.tools/ssa: two fixes to CallCommon. 2014-01-07 13:31:05 -05:00
source.go go.tools/ssa: new Function.Syntax() returns the declaring AST (debug mode) or just the Pos/End of the function's extent (otherwise). 2013-10-27 10:55:21 -04:00
source_test.go go.tools/importer: move PathEnclosingInterval to package astutil. 2013-12-09 09:36:29 -05:00
ssa.go go.tools/ssa: two fixes to CallCommon. 2014-01-07 13:31:05 -05:00
stdlib_test.go go.tools/ssa: move AllFunctions to ssautil subpackage 2013-12-05 17:16:00 -05:00
testmain.go go.tools/ssa: don't synthesize an empty "testmain" package. 2013-11-13 16:05:13 -05:00
util.go go.tools/ssa: two fixes to CallCommon. 2014-01-07 13:31:05 -05:00