Bug 802751 - Remove outdated comment. r=luke DONTBUILD
authorNikhil Marathe <nsm.nikhil@gmail.com>
Thu, 18 Oct 2012 22:27:31 -0400
changeset 110877 a03fd6fa25a24a766b0f97474813522b030befd5
parent 110876 b9892a0403e46e4eadc48444a1c73f022540c1d6
child 110878 e5cdd2b6b5a816b46613e58862adf11877a51c49
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersluke
bugs802751
milestone19.0a1
Bug 802751 - Remove outdated comment. r=luke DONTBUILD
js/src/jsfun.cpp
--- a/js/src/jsfun.cpp
+++ b/js/src/jsfun.cpp
@@ -540,21 +540,16 @@ JSFunction::trace(JSTracer *trc)
 }
 
 static void
 fun_trace(JSTracer *trc, RawObject obj)
 {
     obj->toFunction()->trace(trc);
 }
 
-/*
- * Reserve two slots in all function objects for XPConnect.  Note that this
- * does not bloat every instance, only those on which reserved slots are set,
- * and those on which ad-hoc properties are defined.
- */
 JS_FRIEND_DATA(Class) js::FunctionClass = {
     js_Function_str,
     JSCLASS_NEW_RESOLVE | JSCLASS_IMPLEMENTS_BARRIERS |
     JSCLASS_HAS_CACHED_PROTO(JSProto_Function),
     JS_PropertyStub,         /* addProperty */
     JS_PropertyStub,         /* delProperty */
     JS_PropertyStub,         /* getProperty */
     JS_StrictPropertyStub,   /* setProperty */