File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -793,14 +793,12 @@ typedef NameData *Name;
793
793
794
794
#define Assert (condition ) ((void)true)
795
795
#define AssertMacro (condition ) ((void)true)
796
- #define AssertPointerAlignment (ptr , bndr ) ((void)true)
797
796
798
797
#elif defined(FRONTEND )
799
798
800
799
#include <assert.h>
801
800
#define Assert (p ) assert(p)
802
801
#define AssertMacro (p ) ((void) assert(p))
803
- #define AssertPointerAlignment (ptr , bndr ) ((void)true)
804
802
805
803
#else /* USE_ASSERT_CHECKING && !FRONTEND */
806
804
@@ -824,14 +822,14 @@ typedef NameData *Name;
824
822
((void) ((condition) || \
825
823
(ExceptionalCondition(#condition, __FILE__, __LINE__), 0)))
826
824
825
+ #endif /* USE_ASSERT_CHECKING && !FRONTEND */
826
+
827
827
/*
828
828
* Check that `ptr' is `bndr' aligned.
829
829
*/
830
830
#define AssertPointerAlignment (ptr , bndr ) \
831
831
Assert(TYPEALIGN(bndr, (uintptr_t)(ptr)) == (uintptr_t)(ptr))
832
832
833
- #endif /* USE_ASSERT_CHECKING && !FRONTEND */
834
-
835
833
/*
836
834
* ExceptionalCondition is compiled into the backend whether or not
837
835
* USE_ASSERT_CHECKING is defined, so as to support use of extensions
You can’t perform that action at this time.
0 commit comments