◐ Shell
clean mode source ↗

deps: V8: backport 493cb53691be · nodejs/node@41978ad

Original file line numberDiff line numberDiff line change

@@ -38,7 +38,7 @@

3838
3939

# Reset this number to 0 on major V8 upgrades.

4040

# Increment by one for each non-official patch applied to deps/v8.

41-

'v8_embedder_string': '-node.22',

41+

'v8_embedder_string': '-node.23',

4242
4343

##### V8 defaults for Node.js #####

4444
Original file line numberDiff line numberDiff line change

@@ -488,9 +488,16 @@ V8_INLINE void PersistentBase<T>::SetWeak(

488488

#if (__GNUC__ >= 8) && !defined(__clang__)

489489

#pragma GCC diagnostic push

490490

#pragma GCC diagnostic ignored "-Wcast-function-type"

491+

#endif

492+

#if __clang__

493+

#pragma clang diagnostic push

494+

#pragma clang diagnostic ignored "-Wcast-function-type"

491495

#endif

492496

api_internal::MakeWeak(this->slot(), parameter,

493497

reinterpret_cast<Callback>(callback), type);

498+

#if __clang__

499+

#pragma clang diagnostic pop

500+

#endif

494501

#if (__GNUC__ >= 8) && !defined(__clang__)

495502

#pragma GCC diagnostic pop

496503

#endif