Commit bf5c6a8
deps: V8: backport 151d0a44a1b2
Original commit message:
Fix gcc build
For json-parser.h:
```
../../src/json/json-parser.h:298:13: error: explicit specialization in
non-namespace scope 'class v8::internal::JsonParser<Char>'
298 | template <>
| ^
../../src/json/json-parser.h:299:18: error: template-id
'IsNextToken<v8::internal::JsonToken::EOS>' in declaration of primary template
299 | V8_INLINE bool IsNextToken<JsonToken::EOS>() {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
```
For wasm-objects.cc:
```
../../src/wasm/wasm-objects.cc:2522:45: error: no matching function for call to
'v8::internal::WasmDispatchTable::SetForNonWrapper<v8::internal::WasmDispatchTable>(
v8::internal::WasmDispatchTable&, int&, v8::internal::Tagged<v8::internal::
Union<v8::internal::Smi, v8::internal::WasmTrustedInstanceData> >&,
v8::internal::WasmCodePointer&, v8::internal::wasm::CanonicalTypeIndex&,
v8::internal::WasmDispatchTable::NewOrExistingEntry&)'
```
```
error: no matching function for call to 'v8::internal::WasmDispatchTable::
SetForWrapper<v8::internal::WasmDispatchTable>(v8::internal::WasmDispatchTable&,
int&, v8::internal::Tagged<v8::internal::WasmImportData>&, std::shared_ptr<v8::
internal::wasm::WasmImportWrapperHandle>&, v8::internal::wasm::
CanonicalTypeIndex&, v8::internal::WasmDispatchTable::NewOrExistingEntry&)'
```
For the fix fully qualify calls to SetForWrapper and SetForNonWrapper with
::v8::internal:: to avoid accidental lookup of class member names.
This resolves template resolution errors caused by unqualified
calls inside WasmDispatchTable and WasmDispatchTableForImports
member functions.
Change-Id: I687935a05dc754db686deaa0f93079d350aae07e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7107891
Reviewed-by: Patrick Thier <pthier@chromium.org>
Reviewed-by: Manos Koukoutos <manoskouk@chromium.org>
Commit-Queue: Milad Farazmand <mfarazma@ibm.com>
Cr-Commit-Position: refs/heads/main@{#103547}
Refs: v8/v8@151d0a4
Co-authored-by: Michaël Zasso <targos@protonmail.com>
PR-URL: #60488
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>1 parent b59af77 commit bf5c6a8Copy full SHA for bf5c6a8
2 files changed
+14-14Lines changed: 14 additions & 14 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- deps/v8/src/wasm
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | | - |
| 41 | + |
42 | 42 | |
43 | 43 | |
44 | 44 | |
|
Collapse file
deps/v8/src/wasm/wasm-objects.cc
Copy file name to clipboardExpand all lines: deps/v8/src/wasm/wasm-objects.cc+13-13Lines changed: 13 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2519 | 2519 | |
2520 | 2520 | |
2521 | 2521 | |
2522 | | - |
2523 | | - |
| 2522 | + |
| 2523 | + |
2524 | 2524 | |
2525 | | - |
| 2525 | + |
2526 | 2526 | |
2527 | | - |
| 2527 | + |
2528 | 2528 | |
2529 | 2529 | |
2530 | 2530 | |
| ||
2534 | 2534 | |
2535 | 2535 | |
2536 | 2536 | |
2537 | | - |
| 2537 | + |
2538 | 2538 | |
2539 | 2539 | |
2540 | 2540 | |
| ||
2595 | 2595 | |
2596 | 2596 | |
2597 | 2597 | |
2598 | | - |
2599 | | - |
| 2598 | + |
| 2599 | + |
2600 | 2600 | |
2601 | | - |
| 2601 | + |
2602 | 2602 | |
2603 | | - |
| 2603 | + |
2604 | 2604 | |
2605 | 2605 | |
2606 | 2606 | |
| ||
2611 | 2611 | |
2612 | 2612 | |
2613 | 2613 | |
2614 | | - |
2615 | | - |
| 2614 | + |
| 2615 | + |
2616 | 2616 | |
2617 | | - |
| 2617 | + |
2618 | 2618 | |
2619 | | - |
| 2619 | + |
2620 | 2620 | |
2621 | 2621 | |
2622 | 2622 | |
|
0 commit comments