aboutsummaryrefslogtreecommitdiff
path: root/devel/electron12/files/patch-v8_include_v8config.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron12/files/patch-v8_include_v8config.h')
-rw-r--r--devel/electron12/files/patch-v8_include_v8config.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/devel/electron12/files/patch-v8_include_v8config.h b/devel/electron12/files/patch-v8_include_v8config.h
deleted file mode 100644
index 771af78665d2..000000000000
--- a/devel/electron12/files/patch-v8_include_v8config.h
+++ /dev/null
@@ -1,21 +0,0 @@
---- v8/include/v8config.h.orig 2021-04-22 07:51:51 UTC
-+++ v8/include/v8config.h
-@@ -285,7 +285,18 @@
-
- # define V8_HAS_CPP_ATTRIBUTE_NODISCARD (V8_HAS_CPP_ATTRIBUTE(nodiscard))
-
-+// Work around Clang bug present in 9.0.1, at least.
-+//
-+// Clang stores alignment as a 32-bit unsigned integer, but V8 only uses
-+// V8_ASSUME_ALIGNED() for a 4GB (2^32) alignment
-+// (kPtrComprIsolateRootAlignment). As such, the alignment overflows and
-+// becomes zero, triggering an internal Clang assertion that alignment must not
-+// be zero.
-+#if 0
- # define V8_HAS_BUILTIN_ASSUME_ALIGNED (__has_builtin(__builtin_assume_aligned))
-+#else
-+# define V8_HAS_BUILTIN_ASSUME_ALIGNED 0
-+#endif
- # define V8_HAS_BUILTIN_BSWAP16 (__has_builtin(__builtin_bswap16))
- # define V8_HAS_BUILTIN_BSWAP32 (__has_builtin(__builtin_bswap32))
- # define V8_HAS_BUILTIN_BSWAP64 (__has_builtin(__builtin_bswap64))