-
Jaideep Bajwa authored
Port 21701297 Original Commit Message: Add a new JSConstructWithArrayLike operator that is backed by the ConstructWithArrayLike builtin (similar to what was done before for the JSCallWithArrayLike operator), and use that operator to optimize Reflect.construct inlining in TurboFan. This is handled uniformly with JSConstructWithSpread in the JSCallReducer. Also add missing test coverage for Reflect.construct in optimized code, especially for some interesting corner cases. R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com BUG=v8:4587,v8:5269 LOG=N Change-Id: Idaf247317036ddec74b9aa3addd2e7d75b65bfaf Reviewed-on: https://chromium-review.googlesource.com/546716 Commit-Queue: Jaideep Bajwa <bjaideep@ca.ibm.com> Reviewed-by: Joran Siu <joransiu@ca.ibm.com> Cr-Commit-Position: refs/heads/master@{#46189}
b6224c8f