[builtins] Add typing to o() and len() in array builtins
Make BuiltinsArrayAssembler::o() and len() into TNode<JSReceiver> and TNode<Number> respectively. Also adds typing to CodeStubAssembler::ToLength_Inline. Fixes a type error in ArraySpeciesCreate which needs to take a Number rather than a Smi. Bug: v8:7310 Change-Id: Ie01d58ba195bddfe58ac7e4a31272c8f1a14c6ce Reviewed-on: https://chromium-review.googlesource.com/934821 Commit-Queue: Dan Elphick <delphick@chromium.org> Reviewed-by: Peter Marshall <petermarshall@chromium.org> Cr-Commit-Position: refs/heads/master@{#51761}
Showing
This diff is collapsed.
Please
register
or
sign in
to comment