From 6daced7c0aaaf24c6ae1eb95844b8c96ddae0c6a Mon Sep 17 00:00:00 2001 From: "Nicholas D. Matsakis" Date: Tue, 1 Apr 2014 22:46:04 -0400 Subject: [PATCH] Bug 973238 Part 5 -- Remove private field from StructTypeDescr, which is unused r=sfink --- CLOBBER | 2 +- js/src/builtin/TypedObject.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CLOBBER b/CLOBBER index 96b8086e8bc..0b5d463f671 100644 --- a/CLOBBER +++ b/CLOBBER @@ -22,4 +22,4 @@ # 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). diff --git a/js/src/builtin/TypedObject.cpp b/js/src/builtin/TypedObject.cpp index ff786749f69..167ba39d7bc 100644 --- a/js/src/builtin/TypedObject.cpp +++ b/js/src/builtin/TypedObject.cpp @@ -822,8 +822,7 @@ js::IsTypedObjectArray(JSObject &obj) 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,