mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 898653 - Quell 'not enough parameters for macro' warnings in MSVC. r=djvj
--HG-- extra : rebase_source : 7e467027c24b795d6764894c12290a630663830e
This commit is contained in:
parent
03bec36a20
commit
0fc93a0111
@ -44,7 +44,7 @@
|
||||
(void)variable; \
|
||||
ASSERT(assertion); \
|
||||
} while (0)
|
||||
#define ASSERT_NOT_REACHED() MOZ_ASSUME_UNREACHABLE()
|
||||
#define ASSERT_NOT_REACHED() MOZ_ASSUME_UNREACHABLE("wtf/Assertions.h")
|
||||
#define CRASH() MOZ_CRASH()
|
||||
#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 *
|
||||
|
@ -32,7 +32,7 @@
|
||||
#endif
|
||||
#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) \
|
||||
private: \
|
||||
|
Loading…
Reference in New Issue
Block a user