Kill informClosuresAboutScopeClone
commit6ab44deeb93e891667264d2aa24b4a52d85e6426
authorMark Williams <mwilliams@fb.com>
Tue, 15 Aug 2017 14:59:46 +0000 (15 07:59 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 15 Aug 2017 15:03:10 +0000 (15 08:03 -0700)
tree28ac820c90b458111ddad8362a8b4cdc623c5ef5
parent0fd52214d0ffe15e5c8586a2775927300b445e37
Kill informClosuresAboutScopeClone

Summary:
My last lambda analysis diff killed off all existing uses, but
introduced a new one. It turns out to be responsible for about 15% of
the trait flattening time, so this delays some of the lambda analysis
until after all files have been processed; at which point we don't
need it at all.

Reviewed By: alexeyt

Differential Revision: D5619272

fbshipit-source-id: 0163b54de3d5bfe15306266095a23e3429ea060f
hphp/compiler/analysis/analysis_result.cpp
hphp/compiler/analysis/analysis_result.h
hphp/compiler/analysis/class_scope.cpp
hphp/compiler/analysis/class_scope.h
hphp/compiler/analysis/function_scope.cpp
hphp/compiler/analysis/function_scope.h
hphp/compiler/expression/closure_expression.cpp
hphp/compiler/expression/closure_expression.h
hphp/compiler/expression/expression_list.h