Bug 973238 Part 5 -- Remove private field from StructTypeDescr, which is unused r=sfink
☠☠ backed out by a1a599888834 ☠ ☠
authorNicholas D. Matsakis <nmatsakis@mozilla.com>
Tue, 01 Apr 2014 22:46:04 -0400
changeset 183630 e40e2dbf7d9e0860ca3e6975cc2722a311aa3484
parent 183629 2ca44eb13ecf1014d45de955afc93bb71b4ac359
child 183631 472dffac7f217819e028cd3886b09c48d88a7ff7
push id6844
push userphilringnalda@gmail.com
push dateSun, 18 May 2014 01:12:08 +0000
treeherderfx-team@41a54c8add09 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfink
bugs973238
milestone32.0a1
Bug 973238 Part 5 -- Remove private field from StructTypeDescr, which is unused r=sfink
js/src/builtin/TypedObject.cpp
--- 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 */