Loading js/src/jsatom.h +1 −1 Original line number Diff line number Diff line Loading @@ -115,7 +115,7 @@ struct DefaultHasher<jsid> typedef jsid Lookup; static HashNumber hash(const Lookup &l) { JS_ASSERT(l == js_CheckForStringIndex(l)); return JSID_BITS(l); return HashNumber(JSID_BITS(l)); } static bool match(const jsid &id, const Lookup &l) { JS_ASSERT(l == js_CheckForStringIndex(l)); Loading js/src/jsobj.h +1 −1 Original line number Diff line number Diff line Loading @@ -594,7 +594,7 @@ struct JSObject : js::gc::Cell { /* gc::FinalizeKind */ unsigned finalizeKind() const; uint32 numSlots() const { return capacity; } uint32 numSlots() const { return uint32(capacity); } size_t slotsAndStructSize(uint32 nslots) const; size_t slotsAndStructSize() const { return slotsAndStructSize(numSlots()); } Loading js/src/vm/String.h +1 −1 Original line number Diff line number Diff line Loading @@ -583,7 +583,7 @@ class JSExternalString : public JSFixedString intN externalType() const { JS_ASSERT(isExternal()); JS_ASSERT(d.s.u2.externalType < TYPE_LIMIT); return d.s.u2.externalType; return intN(d.s.u2.externalType); } void *externalClosure() const { Loading Loading
js/src/jsatom.h +1 −1 Original line number Diff line number Diff line Loading @@ -115,7 +115,7 @@ struct DefaultHasher<jsid> typedef jsid Lookup; static HashNumber hash(const Lookup &l) { JS_ASSERT(l == js_CheckForStringIndex(l)); return JSID_BITS(l); return HashNumber(JSID_BITS(l)); } static bool match(const jsid &id, const Lookup &l) { JS_ASSERT(l == js_CheckForStringIndex(l)); Loading
js/src/jsobj.h +1 −1 Original line number Diff line number Diff line Loading @@ -594,7 +594,7 @@ struct JSObject : js::gc::Cell { /* gc::FinalizeKind */ unsigned finalizeKind() const; uint32 numSlots() const { return capacity; } uint32 numSlots() const { return uint32(capacity); } size_t slotsAndStructSize(uint32 nslots) const; size_t slotsAndStructSize() const { return slotsAndStructSize(numSlots()); } Loading
js/src/vm/String.h +1 −1 Original line number Diff line number Diff line Loading @@ -583,7 +583,7 @@ class JSExternalString : public JSFixedString intN externalType() const { JS_ASSERT(isExternal()); JS_ASSERT(d.s.u2.externalType < TYPE_LIMIT); return d.s.u2.externalType; return intN(d.s.u2.externalType); } void *externalClosure() const { Loading