Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FunctionAnalysis: Allow CacheNewObject to use new.target
Summary: `new.target` was considered to escape if the callee ever used NewTargetParam, which is overly restrictive in light of CacheNewObject, which we know won't let it escape. Allow it to be used in FunctionAnalysis without returning `true` from `canEscapeThroughCall`. Reviewed By: neildhar Differential Revision: D66395118 fbshipit-source-id: 399f029ca24a35b8171ce29fcbc203fd92e82585
- Loading branch information