Fix ifndef in Assertions.h
authorkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Jul 2017 22:29:17 +0000 (22:29 +0000)
committerkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Jul 2017 22:29:17 +0000 (22:29 +0000)
https://bugs.webkit.org/show_bug.cgi?id=174104

Reviewed by Saam Barati.

The ifndef should have been checking for
CRASH_WITH_SECURITY_IMPLICATION_AND_INFO since that is what the
ifndef defines.

* wtf/Assertions.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@219101 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WTF/ChangeLog
Source/WTF/wtf/Assertions.h

index 1ced3e2..d053bd5 100644 (file)
@@ -1,3 +1,16 @@
+2017-07-03  Keith Miller  <keith_miller@apple.com>
+
+        Fix ifndef in Assertions.h
+        https://bugs.webkit.org/show_bug.cgi?id=174104
+
+        Reviewed by Saam Barati.
+
+        The ifndef should have been checking for
+        CRASH_WITH_SECURITY_IMPLICATION_AND_INFO since that is what the
+        ifndef defines.
+
+        * wtf/Assertions.h:
+
 2017-07-03  Andy Estes  <aestes@apple.com>
 
         [Xcode] Add an experimental setting to build with ccache
index 535b3c6..5debd3a 100644 (file)
@@ -492,7 +492,7 @@ void isIntegralType(T, Types... types)
 }
 }
 
-#ifndef INLINE_CRASH_WITH_SECURITY_IMPLICATION_AND_INFO
+#ifndef CRASH_WITH_SECURITY_IMPLICATION_AND_INFO
 // This is useful if you are going to stuff data into registers before crashing. Like the crashWithInfo functions below...
 // GCC doesn't like the ##__VA_ARGS__ here since this macro is called from another macro so we just CRASH instead there.
 #if COMPILER(CLANG) || COMPILER(MSVC)
@@ -503,7 +503,7 @@ void isIntegralType(T, Types... types)
 #else
 #define CRASH_WITH_SECURITY_IMPLICATION_AND_INFO(...) CRASH()
 #endif
-#endif // INLINE_CRASH_WITH_SECURITY_IMPLICATION_AND_INFO
+#endif // CRASH_WITH_SECURITY_IMPLICATION_AND_INFO
 
 #endif // __cplusplus