Commit c900bc1
deps: cherry-pick 00704f5a from V8 upstream
Original commit message:
Add more efficient API for accesssing ArrayBuffer raw data
Raw data access is already possible via GetBackingStore()->GetData().
This API exposes a more efficient way for accessing
JSArrayBuffer::backing_store (which, despite the confusing name, is no
the BackingStore but its raw data pointer).
Bug: v8:10343
Change-Id: I695cea91e2c3de75ce6c86bac6e413ce6617958b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3764341
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81745}
Refs: v8/v8@00704f5
Refs: #32226
PR-URL: #43921
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Feng Yu <F3n67u@outlook.com>1 parent 373523b commit c900bc1Copy full SHA for c900bc1
File tree
Expand file treeCollapse file tree
4 files changed
+27
-2
lines changedOpen diff view settings
Filter options
- deps/v8
- include
- src/api
- test/cctest
Expand file treeCollapse file tree
4 files changed
+27
-2
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
| 39 | + |
40 | 40 | |
41 | 41 | |
42 | 42 | |
|
Collapse file
deps/v8/include/v8-array-buffer.h
Copy file name to clipboardExpand all lines: deps/v8/include/v8-array-buffer.h+12Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
256 | 256 | |
257 | 257 | |
258 | 258 | |
| 259 | + |
| 260 | + |
| 261 | + |
| 262 | + |
| 263 | + |
| 264 | + |
259 | 265 | |
260 | 266 | |
261 | 267 | |
| ||
414 | 420 | |
415 | 421 | |
416 | 422 | |
| 423 | + |
| 424 | + |
| 425 | + |
| 426 | + |
| 427 | + |
| 428 | + |
417 | 429 | |
418 | 430 | |
419 | 431 | |
|
Collapse file
+10Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4038 | 4038 | |
4039 | 4039 | |
4040 | 4040 | |
| 4041 | + |
| 4042 | + |
| 4043 | + |
| 4044 | + |
| 4045 | + |
4041 | 4046 | |
4042 | 4047 | |
4043 | 4048 | |
| ||
4048 | 4053 | |
4049 | 4054 | |
4050 | 4055 | |
| 4056 | + |
| 4057 | + |
| 4058 | + |
| 4059 | + |
| 4060 | + |
4051 | 4061 | |
4052 | 4062 | |
4053 | 4063 | |
|
Collapse file
deps/v8/test/cctest/test-api-array-buffer.cc
Copy file name to clipboardExpand all lines: deps/v8/test/cctest/test-api-array-buffer.cc+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
366 | 366 | |
367 | 367 | |
368 | 368 | |
| 369 | + |
369 | 370 | |
370 | 371 | |
371 | 372 | |
| ||
394 | 395 | |
395 | 396 | |
396 | 397 | |
397 | | - |
398 | 398 | |
| 399 | + |
399 | 400 | |
400 | 401 | |
401 | 402 | |
| ||
418 | 419 | |
419 | 420 | |
420 | 421 | |
| 422 | + |
421 | 423 | |
422 | 424 | |
423 | 425 | |
| ||
430 | 432 | |
431 | 433 | |
432 | 434 | |
| 435 | + |
433 | 436 | |
434 | 437 | |
435 | 438 | |
|
0 commit comments