From 5093e96c815111eabea35faf9dd28037301cf946 Mon Sep 17 00:00:00 2001 From: "Nicolas B. Pierron" Date: Wed, 1 Oct 2014 19:17:53 +0200 Subject: [PATCH] Bug 1074911 - Remove JS_ASSERT and JS_ASSERT_IF macros. r=jorendorff --- js/public/Utility.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/js/public/Utility.h b/js/public/Utility.h index ff9d75ad0b42..c2fbd567973a 100644 --- a/js/public/Utility.h +++ b/js/public/Utility.h @@ -51,9 +51,6 @@ namespace js {} #define JS_SWEPT_FRAME_PATTERN 0x5b #define JS_POISONED_FORKJOIN_CHUNK 0xBD -#define JS_ASSERT(expr) MOZ_ASSERT(expr) -#define JS_ASSERT_IF(cond, expr) MOZ_ASSERT_IF(cond, expr) - #define JS_STATIC_ASSERT(cond) static_assert(cond, "JS_STATIC_ASSERT") #define JS_STATIC_ASSERT_IF(cond, expr) MOZ_STATIC_ASSERT_IF(cond, expr, "JS_STATIC_ASSERT_IF")