зеркало из https://github.com/mozilla/gecko-dev.git
Bug 656282: Remove redundant declaration that causes an MSVC warning, r=luke
--HG-- extra : rebase_source : 42c6e9594f36fd7320bdea90fdb01c955bf07f4d
This commit is contained in:
Родитель
3df1dd05de
Коммит
0101f388cf
|
@ -51,13 +51,6 @@
|
||||||
|
|
||||||
JS_BEGIN_EXTERN_C
|
JS_BEGIN_EXTERN_C
|
||||||
|
|
||||||
/*
|
|
||||||
* JS_Assert is present even in release builds, for the benefit of applications
|
|
||||||
* that build DEBUG and link against a non-DEBUG SpiderMonkey library.
|
|
||||||
*/
|
|
||||||
extern JS_PUBLIC_API(void)
|
|
||||||
JS_Assert(const char *s, const char *file, JSIntn ln);
|
|
||||||
|
|
||||||
#define JS_CRASH_UNLESS(__cond) \
|
#define JS_CRASH_UNLESS(__cond) \
|
||||||
JS_BEGIN_MACRO \
|
JS_BEGIN_MACRO \
|
||||||
if (!(__cond)) { \
|
if (!(__cond)) { \
|
||||||
|
|
|
@ -52,6 +52,9 @@
|
||||||
*
|
*
|
||||||
* Once mfbt needs object files, this unholy union with JS_Assert()
|
* Once mfbt needs object files, this unholy union with JS_Assert()
|
||||||
* will be broken.
|
* will be broken.
|
||||||
|
*
|
||||||
|
* JS_Assert is present even in release builds, for the benefit of applications
|
||||||
|
* that build DEBUG and link against a non-DEBUG SpiderMonkey library.
|
||||||
*/
|
*/
|
||||||
MOZ_BEGIN_EXTERN_C
|
MOZ_BEGIN_EXTERN_C
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче