Bug 677411 - Fix some red in SM builds

This commit is contained in:
Bill McCloskey 2011-10-11 11:06:00 -07:00
parent 5e9d7bfef9
commit 8068f75eda
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ enum Reason {
SHAPE,
REFILL
};
static int NUM_REASONS = REFILL + 1;
static const int NUM_REASONS = REFILL + 1;
static inline const char *
ExplainReason(Reason r)

View File

@ -695,7 +695,7 @@ JSRuntime::JSRuntime()
requestDone(NULL),
requestCount(0),
gcThread(NULL),
gcHelperThread(this),
gcHelperThread(thisFromCtor()),
rtLock(NULL),
# ifdef DEBUG
rtLockOwner(0),