Commit c23e8b5
committed
deps: cherry-pick 2075910 from upstream V8
Original commit message:
[turbofan] Remove optimization of default Promise capability functions.
The JSCallReducer could in theory inline the default resolve and reject
functions passed to the executor in the Promise constructor. But that
inlining is almost never triggered because we don't have SFI based feedback
in the CallIC. Also the use of the Promise constructor is discouraged,
so we shouldn't really need to squeeze the last bit of performance out
of this even in the future.
Getting rid of this optimization will make significantly easier to
implement the Swallowed Rejection Hook, as there's less churn on the
TurboFan side then.
Bug: v8:7919
Change-Id: If0c54f1c6c7ce95686cd74232be6b8693ac688c9
Reviewed-on: https://chromium-review.googlesource.com/1125926
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54210}
Refs: v8/v8@2075910
PR-URL: #21838
Refs: nodejs/promises-debugging#8
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yang Guo <yangguo@chromium.org>
Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com>1 parent 41ff1bb commit c23e8b5Copy full SHA for c23e8b5
File tree
Expand file treeCollapse file tree
3 files changed
+1
-121
lines changedOpen diff view settings
Filter options
- deps/v8/src/compiler
Expand file treeCollapse file tree
3 files changed
+1
-121
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | | - |
| 31 | + |
32 | 32 | |
33 | 33 | |
34 | 34 | |
|
Collapse file
deps/v8/src/compiler/js-call-reducer.cc
Copy file name to clipboardExpand all lines: deps/v8/src/compiler/js-call-reducer.cc-118Lines changed: 0 additions & 118 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3519 | 3519 | |
3520 | 3520 | |
3521 | 3521 | |
3522 | | - |
3523 | | - |
3524 | | - |
3525 | | - |
3526 | 3522 | |
3527 | 3523 | |
3528 | 3524 | |
| ||
5252 | 5248 | |
5253 | 5249 | |
5254 | 5250 | |
5255 | | - |
5256 | | - |
5257 | | - |
5258 | | - |
5259 | | - |
5260 | | - |
5261 | | - |
5262 | | - |
5263 | | - |
5264 | | - |
5265 | | - |
5266 | | - |
5267 | | - |
5268 | | - |
5269 | | - |
5270 | | - |
5271 | | - |
5272 | | - |
5273 | | - |
5274 | | - |
5275 | | - |
5276 | | - |
5277 | | - |
5278 | | - |
5279 | | - |
5280 | | - |
5281 | | - |
5282 | | - |
5283 | | - |
5284 | | - |
5285 | | - |
5286 | | - |
5287 | | - |
5288 | | - |
5289 | | - |
5290 | | - |
5291 | | - |
5292 | | - |
5293 | | - |
5294 | | - |
5295 | | - |
5296 | | - |
5297 | | - |
5298 | | - |
5299 | | - |
5300 | | - |
5301 | | - |
5302 | | - |
5303 | | - |
5304 | | - |
5305 | | - |
5306 | | - |
5307 | | - |
5308 | | - |
5309 | | - |
5310 | | - |
5311 | | - |
5312 | | - |
5313 | | - |
5314 | | - |
5315 | | - |
5316 | | - |
5317 | | - |
5318 | | - |
5319 | | - |
5320 | | - |
5321 | | - |
5322 | | - |
5323 | | - |
5324 | | - |
5325 | | - |
5326 | | - |
5327 | | - |
5328 | | - |
5329 | | - |
5330 | | - |
5331 | | - |
5332 | | - |
5333 | | - |
5334 | | - |
5335 | | - |
5336 | | - |
5337 | | - |
5338 | | - |
5339 | | - |
5340 | | - |
5341 | | - |
5342 | | - |
5343 | | - |
5344 | | - |
5345 | | - |
5346 | | - |
5347 | | - |
5348 | | - |
5349 | | - |
5350 | | - |
5351 | | - |
5352 | | - |
5353 | | - |
5354 | | - |
5355 | | - |
5356 | | - |
5357 | | - |
5358 | | - |
5359 | | - |
5360 | | - |
5361 | | - |
5362 | | - |
5363 | | - |
5364 | | - |
5365 | | - |
5366 | | - |
5367 | | - |
5368 | | - |
5369 | 5251 | |
5370 | 5252 | |
5371 | 5253 | |
|
Collapse file
deps/v8/src/compiler/js-call-reducer.h
Copy file name to clipboardExpand all lines: deps/v8/src/compiler/js-call-reducer.h-2Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
130 | 130 | |
131 | 131 | |
132 | 132 | |
133 | | - |
134 | | - |
135 | 133 | |
136 | 134 | |
137 | 135 | |
|
0 commit comments