1
0
mirror of https://github.com/golang/go synced 2024-11-19 03:04:42 -07:00
go/oracle/testdata
Daniel Morsing 500e956000 oracle: attempt to deduce callees statically before building SSA
When querying for callees against a static call, the entire SSA
form for the program was built. Since we can tell if a callee is
statically dispatched after typechecking, try to do that before
building the SSA form.

This cuts 3.5 seconds off queries against static calls.

Change-Id: I22291381d3bec490e3b1d6f9c6b5a0092fd9f635
Reviewed-on: https://go-review.googlesource.com/10230
Reviewed-by: Alan Donovan <adonovan@google.com>
2015-05-20 12:10:52 +00:00
..
src oracle: attempt to deduce callees statically before building SSA 2015-05-20 12:10:52 +00:00