Remove OS X rules.mk hacks and out-of-date assert in JS_GetObjectID

This commit is contained in:
Luke Wagner
2010-06-08 17:32:51 -07:00
parent c399144b32
commit 2ad8d09bbc
2 changed files with 2 additions and 3 deletions

View File

@@ -2673,7 +2673,6 @@ JS_GetConstructor(JSContext *cx, JSObject *proto)
JS_PUBLIC_API(JSBool)
JS_GetObjectId(JSContext *cx, JSObject *obj, jsid *idp)
{
JS_ASSERT(JSID_IS_OBJECT((jsid)obj));
*idp = OBJECT_TO_JSID(obj);
return JS_TRUE;
}