Bug 728686 - JS_NewPropertyIterator shouldn't disable IGC (r=igor)
authorBill McCloskey <wmccloskey@mozilla.com>
Tue, 21 Feb 2012 17:04:53 -0800
changeset 92217 8d1c74566a0b94eecd626df143d56cf6d5237c66
parent 92216 a625b9ed671fca596f98e026125508cf014975b7
child 92218 cf4978c2e32c340987a9258fe064e9a191d8a639
push id136
push userlsblakk@mozilla.com
push dateFri, 01 Jun 2012 02:39:32 +0000
treeherdermozilla-release@7ebf7352c959 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersigor
bugs728686
milestone13.0a1
first release with
nightly linux32
8d1c74566a0b / 13.0a1 / 20120313090404 / files
nightly linux64
8d1c74566a0b / 13.0a1 / 20120313090404 / files
nightly mac
8d1c74566a0b / 13.0a1 / 20120313090404 / files
nightly win32
8d1c74566a0b / 13.0a1 / 20120313090404 / files
nightly win64
8d1c74566a0b / 13.0a1 / 20120313090404 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 728686 - JS_NewPropertyIterator shouldn't disable IGC (r=igor)
js/src/jsapi.cpp
--- a/js/src/jsapi.cpp
+++ b/js/src/jsapi.cpp
@@ -4279,17 +4279,17 @@ prop_iter_trace(JSTracer *trc, JSObject 
         /* Non-native case: mark each id in the JSIdArray private. */
         JSIdArray *ida = (JSIdArray *) pdata;
         MarkIdRange(trc, ida->length, ida->vector, "prop iter");
     }
 }
 
 static Class prop_iter_class = {
     "PropertyIterator",
-    JSCLASS_HAS_PRIVATE | JSCLASS_HAS_RESERVED_SLOTS(1),
+    JSCLASS_HAS_PRIVATE | JSCLASS_IMPLEMENTS_BARRIERS | JSCLASS_HAS_RESERVED_SLOTS(1),
     JS_PropertyStub,         /* addProperty */
     JS_PropertyStub,         /* delProperty */
     JS_PropertyStub,         /* getProperty */
     JS_StrictPropertyStub,   /* setProperty */
     JS_EnumerateStub,
     JS_ResolveStub,
     JS_ConvertStub,
     prop_iter_finalize,