Use new.target in favor of %_IsConstructCall intrinsic (1).
This switches several builtin methods to use the ES6 new.target value when determined whether being called as a constructor or not. This is prepatory work for fully deprecating the aforementioned intrinsic. R=rossberg@chromium.org Review URL: https://codereview.chromium.org/1477073005 Cr-Commit-Position: refs/heads/master@{#32397}
Showing
Please
register
or
sign in
to comment