Commit 70bd7cf
Reland "[typedarray] Move external/data pointer to JSTypedArray."
This is a reland of 4b86fea with
copy&paste typo in CodeStubAssembler::AllocateByteArray() fixed
(bug led to holes in new space, which was crashing reproducibly
on the ia32 bot).
Original change's description:
> [typedarray] Move external/data pointer to JSTypedArray.
>
> As the next step in supporting huge typed arrays in V8, this moves the
> external/data pointer from the FixedTypedArrayBase backing store to the
> JSTypedArray instance itself, and replaces the special backing stores
> with a plain ByteArray (removing all the code for the FixedTypedArrayBase
> class hierarchy). By doing so, we can drastically simplify the system
> around typed arrays.
>
> Note: Several places in the code base used to check the instance type
> of the elements backing store of a JSTypedArray instead of checking the
> elements kind on the JSTypedArray map directly. Those had to be fixed,
> since the backing store is now always a ByteArray.
>
> Drive-by-fix: Move all the typed elements access related code into the
> elements.cc file to properly encapsulate the accesses.
>
> Doc: http://doc/1Z-wM2qwvAuxH46e9ivtkYvKzzwYZg8ymm0x0wJaomow
> Bug: chromium:951196, chromium:965583, v8:4153, v8:7881, v8:9183
> Change-Id: I8cc06b190c53e34155000b4560f5f3ef40621646
> Cq-Include-Trybots: luci.chromium.try:linux-rel,win7-rel
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1627535
> Commit-Queue: Benedikt Meurer <[email protected]>
> Reviewed-by: Peter Marshall <[email protected]>
> Reviewed-by: Ulan Degenbaev <[email protected]>
> Reviewed-by: Simon Zünd <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#61855}
Tbr: [email protected]
Bug: chromium:951196, chromium:965583, v8:4153, v8:7881, v8:9183
Change-Id: I87fcdb28532c5f08cc227332a4d59546cb423810
Cq-Include-Trybots: luci.chromium.try:linux-rel, win7-rel
Cq-Include-Trybots: luci.v8.try:v8_linux_shared_compile_rel
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1631592
Reviewed-by: Benedikt Meurer <[email protected]>
Commit-Queue: Benedikt Meurer <[email protected]>
Cr-Commit-Position: refs/heads/master@{#61864}1 parent d496887 commit 70bd7cf
File tree
70 files changed
+1598
-2529
lines changed- src
- api
- builtins
- codegen
- compiler
- diagnostics
- heap
- ic
- objects
- roots
- runtime
- snapshot
- test
- cctest
- mjsunit/regress
- unittests/compiler
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
70 files changed
+1598
-2529
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7237 | 7237 | | |
7238 | 7238 | | |
7239 | 7239 | | |
7240 | | - | |
7241 | | - | |
7242 | | - | |
| 7240 | + | |
7243 | 7241 | | |
7244 | 7242 | | |
7245 | 7243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
| 386 | + | |
387 | 387 | | |
388 | | - | |
| 388 | + | |
389 | 389 | | |
390 | | - | |
| 390 | + | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | | - | |
| 396 | + | |
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
403 | 403 | | |
404 | | - | |
| 404 | + | |
405 | 405 | | |
406 | | - | |
| 406 | + | |
407 | 407 | | |
408 | | - | |
| 408 | + | |
409 | 409 | | |
410 | | - | |
| 410 | + | |
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | 541 | | |
546 | 542 | | |
547 | 543 | | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | 544 | | |
552 | 545 | | |
553 | 546 | | |
| |||
616 | 609 | | |
617 | 610 | | |
618 | 611 | | |
619 | | - | |
620 | | - | |
| 612 | + | |
621 | 613 | | |
622 | 614 | | |
623 | 615 | | |
| |||
635 | 627 | | |
636 | 628 | | |
637 | 629 | | |
| 630 | + | |
638 | 631 | | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
| 632 | + | |
| 633 | + | |
645 | 634 | | |
646 | 635 | | |
647 | 636 | | |
| 637 | + | |
| 638 | + | |
648 | 639 | | |
649 | 640 | | |
650 | 641 | | |
| |||
751 | 742 | | |
752 | 743 | | |
753 | 744 | | |
754 | | - | |
| 745 | + | |
755 | 746 | | |
756 | 747 | | |
757 | 748 | | |
| |||
960 | 951 | | |
961 | 952 | | |
962 | 953 | | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | 954 | | |
976 | 955 | | |
977 | 956 | | |
| |||
983 | 962 | | |
984 | 963 | | |
985 | 964 | | |
| 965 | + | |
| 966 | + | |
986 | 967 | | |
987 | 968 | | |
988 | 969 | | |
| |||
1025 | 1006 | | |
1026 | 1007 | | |
1027 | 1008 | | |
1028 | | - | |
1029 | | - | |
| 1009 | + | |
| 1010 | + | |
1030 | 1011 | | |
1031 | 1012 | | |
1032 | 1013 | | |
| |||
1035 | 1016 | | |
1036 | 1017 | | |
1037 | 1018 | | |
1038 | | - | |
1039 | | - | |
1040 | 1019 | | |
1041 | 1020 | | |
1042 | 1021 | | |
| |||
1443 | 1422 | | |
1444 | 1423 | | |
1445 | 1424 | | |
1446 | | - | |
1447 | 1425 | | |
1448 | 1426 | | |
1449 | 1427 | | |
| |||
1826 | 1804 | | |
1827 | 1805 | | |
1828 | 1806 | | |
1829 | | - | |
1830 | | - | |
1831 | | - | |
1832 | | - | |
1833 | | - | |
1834 | | - | |
1835 | 1807 | | |
1836 | 1808 | | |
1837 | 1809 | | |
| |||
2295 | 2267 | | |
2296 | 2268 | | |
2297 | 2269 | | |
| 2270 | + | |
| 2271 | + | |
2298 | 2272 | | |
2299 | 2273 | | |
2300 | 2274 | | |
| |||
2309 | 2283 | | |
2310 | 2284 | | |
2311 | 2285 | | |
2312 | | - | |
2313 | | - | |
| 2286 | + | |
| 2287 | + | |
2314 | 2288 | | |
2315 | 2289 | | |
2316 | 2290 | | |
| |||
2714 | 2688 | | |
2715 | 2689 | | |
2716 | 2690 | | |
2717 | | - | |
2718 | 2691 | | |
2719 | 2692 | | |
2720 | 2693 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
151 | 150 | | |
152 | 151 | | |
153 | 152 | | |
154 | | - | |
155 | | - | |
| 153 | + | |
| 154 | + | |
156 | 155 | | |
157 | 156 | | |
158 | 157 | | |
| |||
179 | 178 | | |
180 | 179 | | |
181 | 180 | | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
186 | 185 | | |
187 | 186 | | |
188 | | - | |
| 187 | + | |
189 | 188 | | |
190 | 189 | | |
191 | 190 | | |
| |||
203 | 202 | | |
204 | 203 | | |
205 | 204 | | |
206 | | - | |
207 | | - | |
| 205 | + | |
| 206 | + | |
208 | 207 | | |
209 | 208 | | |
210 | 209 | | |
211 | 210 | | |
212 | 211 | | |
213 | 212 | | |
214 | | - | |
215 | | - | |
| 213 | + | |
216 | 214 | | |
217 | 215 | | |
218 | 216 | | |
| |||
226 | 224 | | |
227 | 225 | | |
228 | 226 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | 227 | | |
245 | 228 | | |
246 | 229 | | |
247 | 230 | | |
248 | 231 | | |
249 | 232 | | |
250 | 233 | | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
| 234 | + | |
258 | 235 | | |
259 | 236 | | |
260 | 237 | | |
| |||
1668 | 1645 | | |
1669 | 1646 | | |
1670 | 1647 | | |
1671 | | - | |
1672 | | - | |
1673 | | - | |
1674 | | - | |
1675 | | - | |
1676 | | - | |
1677 | | - | |
1678 | | - | |
| 1648 | + | |
1679 | 1649 | | |
1680 | 1650 | | |
1681 | 1651 | | |
| |||
0 commit comments