Bug 888280 - Give a few miscellaneous variables internal name linkage. r=evilpies

This commit is contained in:
Dan Gohman 2013-08-07 07:37:38 -07:00
parent ced34d4608
commit e1e461e08a
2 changed files with 5 additions and 5 deletions

View File

@ -370,8 +370,8 @@ Range::unionWith(const Range *other)
max_exponent_ = max_exponent;
}
const int64_t RANGE_INF_MAX = int64_t(JSVAL_INT_MAX) + 1;
const int64_t RANGE_INF_MIN = int64_t(JSVAL_INT_MIN) - 1;
static const int64_t RANGE_INF_MAX = int64_t(JSVAL_INT_MAX) + 1;
static const int64_t RANGE_INF_MIN = int64_t(JSVAL_INT_MIN) - 1;
Range::Range(const MDefinition *def)
: symbolicLower_(NULL),

View File

@ -173,10 +173,10 @@ js::BoxNonStrictThis(JSContext *cx, const CallReceiver &call)
#if JS_HAS_NO_SUCH_METHOD
const uint32_t JSSLOT_FOUND_FUNCTION = 0;
const uint32_t JSSLOT_SAVED_ID = 1;
static const uint32_t JSSLOT_FOUND_FUNCTION = 0;
static const uint32_t JSSLOT_SAVED_ID = 1;
Class js_NoSuchMethodClass = {
static Class js_NoSuchMethodClass = {
"NoSuchMethod",
JSCLASS_HAS_RESERVED_SLOTS(2) | JSCLASS_IS_ANONYMOUS,
JS_PropertyStub, JS_DeletePropertyStub, JS_PropertyStub, JS_StrictPropertyStub,