Bug 714728 - Remove jsword/jsuword in favour of intptr_t/uintptr_t; r=Waldo

This commit is contained in:
Ms2ger
2012-01-11 09:23:05 +01:00
parent 3a4e490266
commit 20e82e6b3f
45 changed files with 228 additions and 230 deletions

View File

@@ -701,7 +701,7 @@ GetIterator(JSContext *cx, JSObject *obj, uintN flags, Value *vp)
goto miss;
}
const Shape *shape = pobj->lastProperty();
key = (key + (key << 16)) ^ ((jsuword)shape >> 3);
key = (key + (key << 16)) ^ (uintptr_t(shape) >> 3);
if (!shapes.append((Shape *) shape))
return false;
pobj = pobj->getProto();