Bug 686009 - Clean up some comments in jstracer.cpp which refer to js_InitClass uses which are now mostly removed. Also remove an obsolete comment in JSObject::makeDenseArraySlow that referred to use of js_InitClass to initialize Array. r=bhackett

This commit is contained in:
Jeff Walden
2011-05-04 16:54:24 -04:00
parent f70622cf0c
commit 88fb757463
2 changed files with 13 additions and 11 deletions

View File

@@ -1205,12 +1205,6 @@ JSObject::makeDenseArraySlow(JSContext *cx)
clearSlotRange(next, capacity - next);
/*
* Finally, update class. If |this| is Array.prototype, then js_InitClass
* will create an emptyShape whose class is &SlowArrayClass, to ensure
* that delegating instances can share shapes in the tree rooted at the
* proto's empty shape.
*/
return true;
}