Commit 4e788dc
deps: backport 91ddb65d from upstream V8
Original commit message:
Revert promises optimizations due to regressions in async hooks
Revert "[async-await] Eliminate throwaway promise in async functions."
This reverts commit a840f1f8f7e6c9ab32dec456a954612619855093.
Revert "[async-generators] Also avoid throwaway promise here."
This reverts commit feb545ceba5cb477ba883b46b60142f441ad5a3d.
Revert "[async-await] Turn await closures into intrinsics."
This reverts commit d97bb317386506a6798386b74647cbe0502fce35.
Revert "[async-generators] Add fast-path for primitives in AsyncGeneratorYield."
This reverts commit e57b500eb26dc595609613963468910eb4bcae2e.
Revert "[async-generators] Add fast-path to skip "then" lookup in AsyncGeneratorResolve."
This reverts commit c15802e11e30976528d1b711a9b9e6ff6b490117.
Revert "[promises] Correctly run before/after hooks for await."
This reverts commit ca7639239fc13e992e857710cbf7dbaac87163bf.
Bug: v8:7253, v8:7745
Change-Id: I25ad0d2df3cfbc84dbb431aa25b268bce8a39e89
Reviewed-on: https://chromium-review.googlesource.com/1049975
Commit-Queue: Maya Lekova <mslekova@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53139}
Refs: v8/v8@91ddb65
Fixes: #20516
Co-authored-by: Matteo Collina <matteo.collina@gmail.com>
PR-URL: #19989
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matheus Marchini <matheus@sthima.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Myles Borins <myles.borins@gmail.com>1 parent fb26861 commit 4e788dcCopy full SHA for 4e788dc
File tree
Expand file treeCollapse file tree
38 files changed
+688
-612
lines changedOpen diff view settings
Filter options
- deps/v8
- src
- builtins
- compiler
- interpreter
- objects
- runtime
- test/cctest
- interpreter/bytecode_expectations
- tools
Expand file treeCollapse file tree
38 files changed
+688
-612
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | | - |
| 30 | + |
31 | 31 | |
32 | 32 | |
33 | 33 | |
|
Collapse file
deps/v8/src/bootstrapper.cc
Copy file name to clipboardExpand all lines: deps/v8/src/bootstrapper.cc+72Lines changed: 72 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1584 | 1584 | |
1585 | 1585 | |
1586 | 1586 | |
| 1587 | + |
| 1588 | + |
| 1589 | + |
| 1590 | + |
| 1591 | + |
| 1592 | + |
| 1593 | + |
| 1594 | + |
| 1595 | + |
| 1596 | + |
| 1597 | + |
| 1598 | + |
| 1599 | + |
| 1600 | + |
| 1601 | + |
| 1602 | + |
| 1603 | + |
| 1604 | + |
| 1605 | + |
| 1606 | + |
| 1607 | + |
| 1608 | + |
| 1609 | + |
| 1610 | + |
| 1611 | + |
| 1612 | + |
| 1613 | + |
| 1614 | + |
| 1615 | + |
| 1616 | + |
| 1617 | + |
| 1618 | + |
| 1619 | + |
| 1620 | + |
| 1621 | + |
| 1622 | + |
| 1623 | + |
| 1624 | + |
| 1625 | + |
| 1626 | + |
| 1627 | + |
| 1628 | + |
| 1629 | + |
| 1630 | + |
1587 | 1631 | |
1588 | 1632 | |
1589 | 1633 | |
| ||
3998 | 4042 | |
3999 | 4043 | |
4000 | 4044 | |
| 4045 | + |
| 4046 | + |
| 4047 | + |
| 4048 | + |
| 4049 | + |
| 4050 | + |
| 4051 | + |
| 4052 | + |
| 4053 | + |
| 4054 | + |
| 4055 | + |
| 4056 | + |
| 4057 | + |
| 4058 | + |
| 4059 | + |
| 4060 | + |
| 4061 | + |
| 4062 | + |
| 4063 | + |
| 4064 | + |
| 4065 | + |
| 4066 | + |
| 4067 | + |
| 4068 | + |
| 4069 | + |
| 4070 | + |
| 4071 | + |
| 4072 | + |
4001 | 4073 | |
4002 | 4074 | |
4003 | 4075 | |
|
Collapse file
deps/v8/src/builtins/builtins-async-function-gen.cc
Copy file name to clipboardExpand all lines: deps/v8/src/builtins/builtins-async-function-gen.cc+69-27Lines changed: 69 additions & 27 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | | - |
25 | | - |
26 | | - |
| 24 | + |
| 25 | + |
| 26 | + |
27 | 27 | |
28 | 28 | |
29 | | - |
30 | | - |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
31 | 43 | |
32 | | - |
33 | 44 | |
34 | 45 | |
35 | 46 | |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
36 | 55 | |
37 | 56 | |
38 | 57 | |
| ||
47 | 66 | |
48 | 67 | |
49 | 68 | |
50 | | - |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
51 | 75 | |
52 | 76 | |
53 | | - |
54 | | - |
55 | | - |
| 77 | + |
| 78 | + |
| 79 | + |
56 | 80 | |
57 | | - |
58 | | - |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
59 | 85 | |
60 | 86 | |
61 | | - |
62 | | - |
63 | | - |
| 87 | + |
| 88 | + |
| 89 | + |
64 | 90 | |
65 | | - |
66 | | - |
| 91 | + |
| 92 | + |
| 93 | + |
67 | 94 | |
68 | 95 | |
69 | 96 | |
| ||
78 | 105 | |
79 | 106 | |
80 | 107 | |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
87 | 127 | |
88 | 128 | |
89 | 129 | |
| ||
93 | 133 | |
94 | 134 | |
95 | 135 | |
| 136 | + |
96 | 137 | |
97 | | - |
| 138 | + |
98 | 139 | |
99 | 140 | |
100 | 141 | |
101 | 142 | |
102 | 143 | |
103 | | - |
| 144 | + |
104 | 145 | |
105 | 146 | |
106 | 147 | |
107 | 148 | |
108 | 149 | |
109 | 150 | |
| 151 | + |
110 | 152 | |
111 | | - |
| 153 | + |
112 | 154 | |
113 | 155 | |
114 | 156 | |
115 | 157 | |
116 | 158 | |
117 | | - |
| 159 | + |
118 | 160 | |
119 | 161 | |
120 | 162 | |
|
0 commit comments