Bug 1590907 - Remove obsolete macro JS_OLD_GETTER_SETTER_METHODS. r=sfink
authorPhilip Chimento <philip.chimento@gmail.com>
Tue, 12 Nov 2019 21:59:08 +0000
changeset 501679 cee3ca35e416b8de5d6698fabc7d5d8fc21690ac
parent 501678 fee367f20825d755948e2e50ba4b93997307a69e
child 501680 bedd96446c984c7bee5dae402274e0427a42cb98
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssfink
bugs1590907
milestone72.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 1590907 - Remove obsolete macro JS_OLD_GETTER_SETTER_METHODS. r=sfink This macro is never defined, and the functions that it hides are missing function definitions anyway. Differential Revision: https://phabricator.services.mozilla.com/D51768
js/src/jsfriendapi.h
--- a/js/src/jsfriendapi.h
+++ b/js/src/jsfriendapi.h
@@ -438,23 +438,16 @@ typedef enum {
 /**
  * Dump the complete object graph of heap-allocated things.
  * fp is the file for the dump output.
  */
 extern JS_FRIEND_API void DumpHeap(
     JSContext* cx, FILE* fp, DumpHeapNurseryBehaviour nurseryBehaviour,
     mozilla::MallocSizeOf mallocSizeOf = nullptr);
 
-#ifdef JS_OLD_GETTER_SETTER_METHODS
-JS_FRIEND_API bool obj_defineGetter(JSContext* cx, unsigned argc,
-                                    JS::Value* vp);
-JS_FRIEND_API bool obj_defineSetter(JSContext* cx, unsigned argc,
-                                    JS::Value* vp);
-#endif
-
 extern JS_FRIEND_API bool IsSystemRealm(JS::Realm* realm);
 
 extern JS_FRIEND_API bool IsSystemCompartment(JS::Compartment* comp);
 
 extern JS_FRIEND_API bool IsSystemZone(JS::Zone* zone);
 
 extern JS_FRIEND_API bool IsAtomsZone(JS::Zone* zone);