Bug 973238 Part 5 -- Remove private field from StructTypeDescr, which is unused r=sfink
authorNicholas D. Matsakis <nmatsakis@mozilla.com>
Tue, 01 Apr 2014 22:46:04 -0400
changeset 187387 89bd60c2a4df5200c84cc223013b661ae28c71ec
parent 187386 8de97fc223d27d05b66ba32f7182c3564468955d
child 187388 4903226b4f2ff4f6c44fe08e91e5dff0e163741d
push id26917
push userryanvm@gmail.com
push dateSat, 07 Jun 2014 18:13:47 +0000
treeherdermozilla-central@a2f0e0619332 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfink
bugs973238
milestone32.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 973238 Part 5 -- Remove private field from StructTypeDescr, which is unused r=sfink
CLOBBER
js/src/builtin/TypedObject.cpp
--- a/CLOBBER
+++ b/CLOBBER
@@ -17,9 +17,9 @@
 #
 # Modifying this file will now automatically clobber the buildbot machines \o/
 #
 
 # Are you updating CLOBBER because you think it's needed for your WebIDL
 # changes to stick? As of bug 928195, this shouldn't be necessary! Please
 # don't change CLOBBER for WebIDL changes any more.
 
-Bug 973238 part 4 needs clobber due to self-hosted code (bug 1019955).
+Bug 973238 part 5 needs clobber due to self-hosted code (bug 1019955).
--- a/js/src/builtin/TypedObject.cpp
+++ b/js/src/builtin/TypedObject.cpp
@@ -817,18 +817,17 @@ js::IsTypedObjectArray(JSObject &obj)
 }
 
 /*********************************
  * StructType class
  */
 
 const Class StructTypeDescr::class_ = {
     "StructType",
-    JSCLASS_HAS_RESERVED_SLOTS(JS_DESCR_SLOTS) |
-    JSCLASS_HAS_PRIVATE, // used to store FieldList
+    JSCLASS_HAS_RESERVED_SLOTS(JS_DESCR_SLOTS),
     JS_PropertyStub,
     JS_DeletePropertyStub,
     JS_PropertyStub,
     JS_StrictPropertyStub,
     JS_EnumerateStub,
     JS_ResolveStub,
     JS_ConvertStub,
     nullptr, /* finalize */