Commit a4bddba
[Runtime] Use platform specific value for JSReceiver::HashMask
This allows us to remove the loop while calculating the hash value and
just use the HashMask as the mask for ComputeIntegerHash. This
previously overflowed on 32-bit systems failing the Smi::IsValid
check.
Bug: v8:6404
Change-Id: I84610a7592fa9d7ce4fa5cef7903bd50b8e8a4df
Reviewed-on: https://chromium-review.googlesource.com/702675
Reviewed-by: Adam Klein <[email protected]>
Commit-Queue: Sathya Gunasekaran <[email protected]>
Cr-Commit-Position: refs/heads/master@{#48319}1 parent fee3717 commit a4bddba
2 files changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6481 | 6481 | | |
6482 | 6482 | | |
6483 | 6483 | | |
6484 | | - | |
6485 | | - | |
6486 | | - | |
6487 | | - | |
6488 | | - | |
6489 | | - | |
6490 | | - | |
| 6484 | + | |
| 6485 | + | |
6491 | 6486 | | |
6492 | 6487 | | |
6493 | 6488 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1951 | 1951 | | |
1952 | 1952 | | |
1953 | 1953 | | |
| 1954 | + | |
1954 | 1955 | | |
1955 | 1956 | | |
| 1957 | + | |
| 1958 | + | |
| 1959 | + | |
| 1960 | + | |
1956 | 1961 | | |
1957 | 1962 | | |
1958 | 1963 | | |
| |||
0 commit comments