зеркало из https://github.com/mozilla/gecko-dev.git
Bug 898653 - Quell 'not enough parameters for macro' warnings in MSVC. r=djvj
--HG-- extra : rebase_source : 7e467027c24b795d6764894c12290a630663830e
This commit is contained in:
Родитель
53eed6b7f9
Коммит
2616b9851c
|
@ -44,7 +44,7 @@
|
||||||
(void)variable; \
|
(void)variable; \
|
||||||
ASSERT(assertion); \
|
ASSERT(assertion); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#define ASSERT_NOT_REACHED() MOZ_ASSUME_UNREACHABLE()
|
#define ASSERT_NOT_REACHED() MOZ_ASSUME_UNREACHABLE("wtf/Assertions.h")
|
||||||
#define CRASH() MOZ_CRASH()
|
#define CRASH() MOZ_CRASH()
|
||||||
#define COMPILE_ASSERT(exp, name) static_assert(exp, #name)
|
#define COMPILE_ASSERT(exp, name) static_assert(exp, #name)
|
||||||
|
|
||||||
|
|
|
@ -3019,7 +3019,7 @@ IsCacheableScopeChain(JSObject *scopeChain, JSObject *holder)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MOZ_ASSUME_UNREACHABLE();
|
MOZ_ASSUME_UNREACHABLE("Invalid scope chain");
|
||||||
}
|
}
|
||||||
|
|
||||||
JSObject *
|
JSObject *
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#endif
|
#endif
|
||||||
#define ASSERT MOZ_ASSERT
|
#define ASSERT MOZ_ASSERT
|
||||||
|
|
||||||
#define ASSERT_NOT_REACHED() MOZ_ASSUME_UNREACHABLE()
|
#define ASSERT_NOT_REACHED() MOZ_ASSUME_UNREACHABLE("moz-decimal-utils.h")
|
||||||
|
|
||||||
#define WTF_MAKE_NONCOPYABLE(ClassName) \
|
#define WTF_MAKE_NONCOPYABLE(ClassName) \
|
||||||
private: \
|
private: \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче