Bug 770253 - Various compilation fixes for different --enable options. r=terrence

--HG--
extra : rebase_source : f13fdd9acc72910350dda650acdc66d0d80f7aed
This commit is contained in:
Steve Fink 2012-07-02 09:07:57 -07:00
parent fcc4473d7e
commit a30097c52b
2 changed files with 2 additions and 2 deletions

View File

@ -390,7 +390,7 @@ typedef Rooted<Value> RootedValue;
*/
class SkipRoot
{
#if defined(DEBUG) && defined(JSGC_ROOT_ANALYSIS)
#if defined(DEBUG) && defined(JS_GC_ZEAL) && defined(JSGC_ROOT_ANALYSIS) && !defined(JS_THREADSAFE)
SkipRoot **stack, *prev;
const uint8_t *start;

View File

@ -1209,7 +1209,7 @@ JSContext::JSContext(JSRuntime *rt)
PodZero(&link);
#ifdef JSGC_ROOT_ANALYSIS
PodArrayZero(thingGCRooters);
#ifdef DEBUG
#if defined(JS_GC_ZEAL) && defined(DEBUG) && !defined(JS_THREADSAFE)
skipGCRooters = NULL;
#endif
#endif