nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h b/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h
2index ee6fe95a603..58d091a0dc7 100644
3--- a/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h
4+++ b/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h
5@@ -637,7 +637,9 @@ class Int64LoweringReducer : public Next {
6 result = __ Word32CountLeadingZeros(high);
7 }
8
9- return __ Tuple<Word32, Word32>(result, __ Word32Constant(0));
10+ // patched for arm build. see https://github.com/nodejs/node/issues/58458
11+ V<Word32> result_ = result;
12+ return __ Tuple(result_, __ Word32Constant(0));
13 }
14
15 V<Word32Pair> LowerCtz(V<Word32Pair> input) {
16@@ -650,7 +652,9 @@ class Int64LoweringReducer : public Next {
17 result = __ Word32CountTrailingZeros(low);
18 }
19
20- return __ Tuple<Word32, Word32>(result, __ Word32Constant(0));
21+ // patched for arm build. see https://github.com/nodejs/node/issues/58458
22+ V<Word32> result_ = result;
23+ return __ Tuple(result_, __ Word32Constant(0));
24 }
25
26 V<Word32Pair> LowerPopCount(V<Word32Pair> input) {