forked from facebook/hermes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add variant of toLength to return uint64_t directly
Summary: Implement a helper variant of toLength to avoid multiple int <-> double conversions. Switch JSLib Array functions to use the helper variant Reviewed By: ridiculousfish Differential Revision: D16158201 fbshipit-source-id: 13aaf00cadaf574e128d096c3f458c957458b1ee
- Loading branch information
1 parent
f8f0d50
commit d1f64b1
Showing
3 changed files
with
65 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters