Commit 32a6c8d
[fastcall] Return value after deopt after fast call is undefined
Even if the return type of an API function is `void`, there is still a
return value in JavaScript, undefined.
This CL hard-codes the return value in the assembly code of the
`DeoptimizationEntry_LazyAfterFastCall` builtin. Ideally the return
value is handled in a continuation builtin, as suggested in
crbug.com/418936518, but that turned out to be more difficult than
expected.
[email protected]
Bug: 422099361
Change-Id: I2d98deeff6a27b51cff9b312246816982ddd7dd1
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6623291
Reviewed-by: Leszek Swirski <[email protected]>
Commit-Queue: Andreas Haas <[email protected]>
Cr-Commit-Position: refs/heads/main@{#100706}1 parent 88ee60c commit 32a6c8d
File tree
5 files changed
+32
-0
lines changed- src
- builtins
- arm64
- arm
- ia32
- x64
- compiler
5 files changed
+32
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4840 | 4840 | | |
4841 | 4841 | | |
4842 | 4842 | | |
| 4843 | + | |
| 4844 | + | |
| 4845 | + | |
| 4846 | + | |
| 4847 | + | |
| 4848 | + | |
4843 | 4849 | | |
4844 | 4850 | | |
4845 | 4851 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5436 | 5436 | | |
5437 | 5437 | | |
5438 | 5438 | | |
| 5439 | + | |
| 5440 | + | |
| 5441 | + | |
| 5442 | + | |
| 5443 | + | |
| 5444 | + | |
5439 | 5445 | | |
5440 | 5446 | | |
5441 | 5447 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5330 | 5330 | | |
5331 | 5331 | | |
5332 | 5332 | | |
| 5333 | + | |
| 5334 | + | |
| 5335 | + | |
| 5336 | + | |
| 5337 | + | |
| 5338 | + | |
5333 | 5339 | | |
5334 | 5340 | | |
5335 | 5341 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5125 | 5125 | | |
5126 | 5126 | | |
5127 | 5127 | | |
| 5128 | + | |
| 5129 | + | |
| 5130 | + | |
| 5131 | + | |
| 5132 | + | |
| 5133 | + | |
| 5134 | + | |
| 5135 | + | |
5128 | 5136 | | |
5129 | 5137 | | |
5130 | 5138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
| 722 | + | |
722 | 723 | | |
723 | 724 | | |
724 | 725 | | |
| |||
730 | 731 | | |
731 | 732 | | |
732 | 733 | | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
733 | 739 | | |
734 | 740 | | |
735 | 741 | | |
| |||
0 commit comments