Skip to content

Commit 517d514

Browse files
committed
deps: silence internal V8 deprecation warning
1 parent a625a98 commit 517d514

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

common.gypi

+1-1
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.10',
41+
'v8_embedder_string': '-node.11',
4242

4343
##### V8 defaults for Node.js #####
4444

deps/v8/include/v8-isolate.h

+1-10
Original file line numberDiff line numberDiff line change
@@ -1227,16 +1227,7 @@ class V8_EXPORT Isolate {
12271227
* Passed to |AtomicsWaitCallback| as a means of stopping an ongoing
12281228
* `Atomics.wait` call.
12291229
*/
1230-
#if !defined(__clang__) && defined(V8_CC_GNU)
1231-
// We cannot mix the usage of [[deprecated]] syntax with the __ attribute __
1232-
// syntax (from V8_EXPORT) due to a gcc bug:
1233-
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69585
1234-
class __attribute__((
1235-
deprecated("AtomicsWaitWakeHandle is unused and will be removed.")))
1236-
#else
1237-
class V8_DEPRECATED("AtomicsWaitWakeHandle is unused and will be removed.")
1238-
#endif
1239-
V8_EXPORT AtomicsWaitWakeHandle {
1230+
class V8_EXPORT AtomicsWaitWakeHandle {
12401231
public:
12411232
/**
12421233
* Stop this `Atomics.wait()` call and call the |AtomicsWaitCallback|

0 commit comments

Comments
 (0)