mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 11:22:30 +01:00
32 lines
1.3 KiB
Diff
32 lines
1.3 KiB
Diff
From: Johannes Müller <50362-jogemu@users.gitlab.alpinelinux.org>
|
|
Date: Thu Aug 14 13:47:10 2025 +0000
|
|
Subject: Fix build on 32-bit arches
|
|
|
|
../../deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h:640:15: error: invalid use of 'struct v8::internal::compiler::turboshaft::Tuple<v8::internal::compiler::turboshaft::WordWithBits<32>, v8::internal::compiler::turboshaft::WordWithBits<32> >' [-Wtemplate-body]
|
|
640 | return __ Tuple<Word32, Word32>(result, __ Word32Constant(0));
|
|
| ^~~~~~~~~~~~~~~~~~~~~
|
|
|
|
See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/88748#note_560642
|
|
|
|
--- a/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h
|
|
+++ b/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h
|
|
@@ -637,7 +637,7 @@
|
|
result = __ Word32CountLeadingZeros(high);
|
|
}
|
|
|
|
- return __ Tuple<Word32, Word32>(result, __ Word32Constant(0));
|
|
+ return __ template Tuple<Word32, Word32>(result, __ Word32Constant(0));
|
|
}
|
|
|
|
V<Word32Pair> LowerCtz(V<Word32Pair> input) {
|
|
@@ -650,7 +650,7 @@
|
|
result = __ Word32CountTrailingZeros(low);
|
|
}
|
|
|
|
- return __ Tuple<Word32, Word32>(result, __ Word32Constant(0));
|
|
+ return __ template Tuple<Word32, Word32>(result, __ Word32Constant(0));
|
|
}
|
|
|
|
V<Word32Pair> LowerPopCount(V<Word32Pair> input) {
|
|
|