Index: Source/wtf/Assertions.h |
diff --git a/Source/wtf/Assertions.h b/Source/wtf/Assertions.h |
index 7e52890cc5588190824040d9f019878aedb0946f..7fec4d933a9475de8e3491b2ae519c07c2dc5b3d 100644 |
--- a/Source/wtf/Assertions.h |
+++ b/Source/wtf/Assertions.h |
@@ -198,13 +198,7 @@ void WTFInstallReportBacktraceOnCrashHook(); |
#define ASSERT_NOT_REACHED() ((void)0) |
#define NO_RETURN_DUE_TO_ASSERT |
-#if COMPILER(INTEL) && !OS(WINDOWS) |
-template<typename T> |
-inline void assertUnused(T& x) { (void)x; } |
-#define ASSERT_UNUSED(variable, assertion) (assertUnused(variable)) |
-#else |
#define ASSERT_UNUSED(variable, assertion) ((void)variable) |
-#endif |
#else |
@@ -269,13 +263,7 @@ while (0) |
/* ASSERT_WITH_MESSAGE_UNUSED */ |
#if ASSERT_MSG_DISABLED |
-#if COMPILER(INTEL) && !OS(WINDOWS) |
-template<typename T> |
-inline void assertWithMessageUnused(T& x) { (void)x; } |
-#define ASSERT_WITH_MESSAGE_UNUSED(variable, assertion, ...) (assertWithMessageUnused(variable)) |
-#else |
#define ASSERT_WITH_MESSAGE_UNUSED(variable, assertion, ...) ((void)variable) |
-#endif |
#else |
#define ASSERT_WITH_MESSAGE_UNUSED(variable, assertion, ...) do \ |
if (!(assertion)) { \ |