Bug 852421 - Remove MarkTypeObjectUnknownProperties call from Object.create. r=bhackett

--HG--
extra : rebase_source : efbc9855ea3b548838b7c2b74feac3db987814e5
This commit is contained in:
Jan de Mooij 2013-07-16 21:34:02 +02:00
parent d233830af8
commit 0f3720ceef

View File

@ -706,9 +706,6 @@ obj_create(JSContext *cx, unsigned argc, Value *vp)
if (!obj)
return false;
/* Don't track types or array-ness for objects created here. */
MarkTypeObjectUnknownProperties(cx, obj->type());
/* 15.2.3.5 step 4. */
if (args.hasDefined(1)) {
if (args[1].isPrimitive()) {