Title: [227792] trunk/Source/WTF
- Revision
- 227792
- Author
- mark....@apple.com
- Date
- 2018-01-30 10:04:21 -0800 (Tue, 30 Jan 2018)
Log Message
Move ENABLE_POISON to Platform.h.
https://bugs.webkit.org/show_bug.cgi?id=182298
<rdar://problem/37032686>
Reviewed by Michael Saboff and JF Bastien.
ENABLE_POISON belongs in Platform.h to ensure that all places that depend on
ENABLE(POISON) will see it properly defined.
* wtf/Platform.h:
* wtf/Poisoned.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (227791 => 227792)
--- trunk/Source/WTF/ChangeLog 2018-01-30 18:01:48 UTC (rev 227791)
+++ trunk/Source/WTF/ChangeLog 2018-01-30 18:04:21 UTC (rev 227792)
@@ -1,3 +1,17 @@
+2018-01-30 Mark Lam <mark....@apple.com>
+
+ Move ENABLE_POISON to Platform.h.
+ https://bugs.webkit.org/show_bug.cgi?id=182298
+ <rdar://problem/37032686>
+
+ Reviewed by Michael Saboff and JF Bastien.
+
+ ENABLE_POISON belongs in Platform.h to ensure that all places that depend on
+ ENABLE(POISON) will see it properly defined.
+
+ * wtf/Platform.h:
+ * wtf/Poisoned.h:
+
2018-01-26 Mark Lam <mark....@apple.com>
Add infrastructure for pointer preparation.
Modified: trunk/Source/WTF/wtf/Platform.h (227791 => 227792)
--- trunk/Source/WTF/wtf/Platform.h 2018-01-30 18:01:48 UTC (rev 227791)
+++ trunk/Source/WTF/wtf/Platform.h 2018-01-30 18:04:21 UTC (rev 227792)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006-2017 Apple Inc. All rights reserved.
+ * Copyright (C) 2006-2018 Apple Inc. All rights reserved.
* Copyright (C) 2007-2009 Torch Mobile, Inc.
* Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved.
*
@@ -1013,6 +1013,13 @@
#define ENABLE_SIGNAL_BASED_VM_TRAPS 1
#endif
+#define ENABLE_POISON 1
+/* Not currently supported for 32-bit or OS(WINDOWS) builds (because of missing llint support). Make sure it's disabled. */
+#if USE(JSVALUE32_64) || OS(WINDOWS)
+#undef ENABLE_POISON
+#define ENABLE_POISON 0
+#endif
+
/* CSS Selector JIT Compiler */
#if !defined(ENABLE_CSS_SELECTOR_JIT)
#if (CPU(X86_64) || CPU(ARM64) || (CPU(ARM_THUMB2) && PLATFORM(IOS))) && ENABLE(JIT) && (OS(DARWIN) || PLATFORM(GTK) || PLATFORM(WPE))
Modified: trunk/Source/WTF/wtf/Poisoned.h (227791 => 227792)
--- trunk/Source/WTF/wtf/Poisoned.h 2018-01-30 18:01:48 UTC (rev 227791)
+++ trunk/Source/WTF/wtf/Poisoned.h 2018-01-30 18:04:21 UTC (rev 227792)
@@ -29,14 +29,9 @@
#include <utility>
#include <wtf/Assertions.h>
-#define ENABLE_POISON 1
#define ENABLE_POISON_ASSERTS 0
-// Not currently supported for 32-bit or OS(WINDOWS) builds (because of missing llint support).
-// Make sure it's disabled.
-#if USE(JSVALUE32_64) || OS(WINDOWS)
-#undef ENABLE_POISON
-#define ENABLE_POISON 0
+#if !ENABLE(POISON)
#undef ENABLE_POISON_ASSERTS
#define ENABLE_POISON_ASSERTS 0
#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes