mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 978188: Guard 'restartVerifier' member-var decl with the same #ifdef as its usage, to fix clang 'unused-private-field' warning. r=terrence
This commit is contained in:
parent
fd5c7dc4f7
commit
3dcdba16c0
@ -316,7 +316,7 @@ WasIncrementalGC(JSRuntime *rt);
|
||||
class JS_FRIEND_API(AutoDisableGenerationalGC)
|
||||
{
|
||||
JSRuntime *runtime;
|
||||
#ifdef JS_GC_ZEAL
|
||||
#if defined(JSGC_GENERATIONAL) && defined(JS_GC_ZEAL)
|
||||
bool restartVerifier;
|
||||
#endif
|
||||
|
||||
|
@ -932,7 +932,7 @@ JS::DisableIncrementalGC(JSRuntime *rt)
|
||||
|
||||
JS::AutoDisableGenerationalGC::AutoDisableGenerationalGC(JSRuntime *rt)
|
||||
: runtime(rt)
|
||||
#ifdef JS_GC_ZEAL
|
||||
#if defined(JSGC_GENERATIONAL) && defined(JS_GC_ZEAL)
|
||||
, restartVerifier(rt->gcVerifyPostData)
|
||||
#endif
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user