Commit f2abe7b
deps: V8: backport 3e010af
Original commit message:
[CloneObjectIC] clone MutableHeapNumbers only if !FLAG_unbox_double_fields
Change the macros added in bf84766a2cd3e09070adcd6228a3a487c8dc4bbd to
only do the hard work if FLAG_unbox_double_fields is unset (otherwise,
they will attempt to dereference raw float64s, which is bad!)
Also adds a write barrier in CopyPropertyArrayValues for each store if
it's possible that a MutableHeapNumber is cloned.
BUG=chromium:901301, chromium:902965, chromium:903070, v8:7611
R=cbruni@chromium.org, jkummerow@chromium.org, ishell@chromium.org
Change-Id: I224d3c4e7b0a887684bff68985b4d97021ba4cfb
Reviewed-on: https://chromium-review.googlesource.com/c/1323911
Commit-Queue: Caitlin Potter <caitp@igalia.com>
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57368}
PR-URL: #25101
Refs: v8/v8@3e010af
Fixes: #25089
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Yang Guo <yangguo@chromium.org>1 parent 201cf97 commit f2abe7bCopy full SHA for f2abe7b
File tree
Expand file treeCollapse file tree
6 files changed
+77
-22
lines changedOpen diff view settings
Filter options
- deps/v8
- src
- builtins
- ic
- test/mjsunit/es9/regress
Expand file treeCollapse file tree
6 files changed
+77
-22
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | | - |
| 33 | + |
34 | 34 | |
35 | 35 | |
36 | 36 | |
|
Collapse file
deps/v8/src/builtins/builtins-constructor-gen.cc
Copy file name to clipboardExpand all lines: deps/v8/src/builtins/builtins-constructor-gen.cc+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
525 | 525 | |
526 | 526 | |
527 | 527 | |
528 | | - |
529 | | - |
| 528 | + |
530 | 529 | |
531 | 530 | |
532 | 531 | |
|
Collapse file
deps/v8/src/code-stub-assembler.cc
Copy file name to clipboardExpand all lines: deps/v8/src/code-stub-assembler.cc+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4432 | 4432 | |
4433 | 4433 | |
4434 | 4434 | |
| 4435 | + |
| 4436 | + |
| 4437 | + |
| 4438 | + |
| 4439 | + |
| 4440 | + |
| 4441 | + |
4435 | 4442 | |
4436 | 4443 | |
4437 | 4444 | |
|
Collapse file
deps/v8/src/ic/accessor-assembler.cc
Copy file name to clipboardExpand all lines: deps/v8/src/ic/accessor-assembler.cc+41-19Lines changed: 41 additions & 19 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3417 | 3417 | |
3418 | 3418 | |
3419 | 3419 | |
3420 | | - |
| 3420 | + |
3421 | 3421 | |
3422 | 3422 | |
3423 | 3423 | |
| ||
3427 | 3427 | |
3428 | 3428 | |
3429 | 3429 | |
3430 | | - |
3431 | | - |
| 3430 | + |
3432 | 3431 | |
3433 | 3432 | |
3434 | 3433 | |
| ||
3449 | 3448 | |
3450 | 3449 | |
3451 | 3450 | |
3452 | | - |
| 3451 | + |
3453 | 3452 | |
3454 | 3453 | |
3455 | 3454 | |
| ||
3484 | 3483 | |
3485 | 3484 | |
3486 | 3485 | |
3487 | | - |
3488 | | - |
3489 | | - |
3490 | | - |
| 3486 | + |
| 3487 | + |
| 3488 | + |
| 3489 | + |
| 3490 | + |
| 3491 | + |
3491 | 3492 | |
3492 | | - |
3493 | | - |
3494 | | - |
3495 | | - |
3496 | | - |
3497 | | - |
3498 | | - |
3499 | | - |
3500 | | - |
3501 | | - |
3502 | | - |
| 3493 | + |
| 3494 | + |
| 3495 | + |
| 3496 | + |
| 3497 | + |
| 3498 | + |
| 3499 | + |
| 3500 | + |
| 3501 | + |
| 3502 | + |
| 3503 | + |
| 3504 | + |
| 3505 | + |
| 3506 | + |
| 3507 | + |
| 3508 | + |
| 3509 | + |
| 3510 | + |
| 3511 | + |
| 3512 | + |
| 3513 | + |
| 3514 | + |
| 3515 | + |
| 3516 | + |
| 3517 | + |
| 3518 | + |
| 3519 | + |
| 3520 | + |
| 3521 | + |
| 3522 | + |
| 3523 | + |
| 3524 | + |
3503 | 3525 | |
3504 | 3526 | |
3505 | 3527 | |
|
Collapse file
deps/v8/test/mjsunit/es9/regress/regress-902965.js
Copy file name to clipboard+12Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
Collapse file
deps/v8/test/mjsunit/es9/regress/regress-903070.js
Copy file name to clipboard+15Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
0 commit comments