0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-24 03:07:54 +01:00

deps: patch V8 to support older Clang versions

PR-URL: https://github.com/nodejs/node/pull/54536
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
Michaël Zasso 2024-08-27 10:40:54 +02:00 committed by Node.js GitHub Bot
parent 95f2213eed
commit 762a440e68
2 changed files with 7 additions and 6 deletions

View File

@ -36,7 +36,7 @@
# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.6',
'v8_embedder_string': '-node.7',
##### V8 defaults for Node.js #####

View File

@ -5,6 +5,7 @@
#ifndef V8_COMPILER_TURBOSHAFT_ASSEMBLER_H_
#define V8_COMPILER_TURBOSHAFT_ASSEMBLER_H_
#include <concepts>
#include <cstring>
#include <iomanip>
#include <iterator>
@ -197,8 +198,8 @@ template <typename T>
class IndexRange : public Range<T> {
public:
using base = Range<T>;
using value_type = base::value_type;
using iterator_type = base::iterator_type;
using value_type = typename base::value_type;
using iterator_type = typename base::iterator_type;
explicit IndexRange(ConstOrV<T> count) : Range<T>(0, count, 1) {}
};
@ -226,8 +227,8 @@ class Sequence : private Range<T> {
using base = Range<T>;
public:
using value_type = base::value_type;
using iterator_type = base::iterator_type;
using value_type = typename base::value_type;
using iterator_type = typename base::iterator_type;
explicit Sequence(ConstOrV<T> begin, ConstOrV<T> stride = 1)
: base(begin, 0, stride) {}
@ -731,7 +732,7 @@ struct LoopLabelForHelper<std::tuple<V<Ts>...>> {
} // namespace detail
template <typename T>
using LoopLabelFor = detail::LoopLabelForHelper<T>::type;
using LoopLabelFor = typename detail::LoopLabelForHelper<T>::type;
Handle<Code> BuiltinCodeHandle(Builtin builtin, Isolate* isolate);