Bug 1574098 - Remove unused defines from Class.h r=tcampbell
authorJon Coppeard <jcoppeard@mozilla.com>
Thu, 15 Aug 2019 13:04:43 +0000
changeset 488226 a055218ae4e272e918c1126082744be928bfb721
parent 488225 5d3a4cd34a0fd2315005bde171868234d060eb2f
child 488227 708aa306509aaad62407cb40da2e343ebdc73dab
push id113904
push userncsoregi@mozilla.com
push dateThu, 15 Aug 2019 19:41:00 +0000
treeherdermozilla-inbound@b283a7ef186c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstcampbell
bugs1574098
milestone70.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 1574098 - Remove unused defines from Class.h r=tcampbell Differential Revision: https://phabricator.services.mozilla.com/D42086
js/public/Class.h
--- a/js/public/Class.h
+++ b/js/public/Class.h
@@ -934,21 +934,16 @@ struct JSClass {
   js::GetElementsOp getOpsGetElements() const {
     return oOps ? oOps->getElements : nullptr;
   }
   JSFunToStringOp getOpsFunToString() const {
     return oOps ? oOps->funToString : nullptr;
   }
 };
 
-// Initializer for unused members of statically initialized JSClass structs.
-#define JSCLASS_NO_INTERNAL_MEMBERS \
-  { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
-#define JSCLASS_NO_OPTIONAL_MEMBERS 0, 0, 0, 0, 0, JSCLASS_NO_INTERNAL_MEMBERS
-
 namespace js {
 
 /**
  * Enumeration describing possible values of the [[Class]] internal property
  * value of objects.
  */
 enum class ESClass {
   Object,