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> |
||
|---|---|---|
| .. | ||
| src | ||