Bug 1590907 - Remove obsolete macro ENABLE_SHARED_ARRAY_BUFFER. r=sfink
authorPhilip Chimento <philip.chimento@gmail.com>
Tue, 12 Nov 2019 21:58:55 +0000
changeset 501678 fee367f20825d755948e2e50ba4b93997307a69e
parent 501677 4b4f0fb8292c18cd114e92ed3f1c57f187a7d5eb
child 501679 cee3ca35e416b8de5d6698fabc7d5d8fc21690ac
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 ENABLE_SHARED_ARRAY_BUFFER. r=sfink This macro is not defined anywhere and has no effect in the end whether it's defined or not. Differential Revision: https://phabricator.services.mozilla.com/D51767
js/public/ProtoKey.h
--- a/js/public/ProtoKey.h
+++ b/js/public/ProtoKey.h
@@ -43,24 +43,17 @@
 #endif
 
 #ifdef ENABLE_TYPED_OBJECTS
 #  define IF_TYPEDOBJ(REAL, IMAGINARY) REAL
 #else
 #  define IF_TYPEDOBJ(REAL, IMAGINARY) IMAGINARY
 #endif
 
-#ifdef ENABLE_SHARED_ARRAY_BUFFER
-#  define IF_SAB(REAL, IMAGINARY) REAL
-#else
-#  define IF_SAB(REAL, IMAGINARY) IMAGINARY
-#endif
-
-#define JS_FOR_PROTOTYPES_(REAL, IMAGINARY, REAL_IF_INTL, REAL_IF_BDATA,     \
-                           REAL_IF_SAB)                                      \
+#define JS_FOR_PROTOTYPES_(REAL, IMAGINARY, REAL_IF_INTL, REAL_IF_BDATA)     \
   IMAGINARY(Null, InitNullClass, dummy)                                      \
   REAL(Object, InitViaClassSpec, OCLASP(Plain))                              \
   REAL(Function, InitViaClassSpec, &JSFunction::class_)                      \
   REAL(Array, InitViaClassSpec, OCLASP(Array))                               \
   REAL(Boolean, InitBooleanClass, OCLASP(Boolean))                           \
   REAL(JSON, InitJSONClass, CLASP(JSON))                                     \
   REAL(Date, InitViaClassSpec, OCLASP(Date))                                 \
   REAL(Math, InitMathClass, CLASP(Math))                                     \
@@ -142,13 +135,13 @@
   IMAGINARY(WasmInstance, dummy, dummy)                                      \
   IMAGINARY(WasmMemory, dummy, dummy)                                        \
   IMAGINARY(WasmTable, dummy, dummy)                                         \
   IMAGINARY(WasmGlobal, dummy, dummy)                                        \
   REAL(FinalizationGroup, InitViaClassSpec, OCLASP(FinalizationGroup))
 
 #define JS_FOR_PROTOTYPES(REAL, IMAGINARY)                      \
   JS_FOR_PROTOTYPES_(REAL, IMAGINARY, IF_INTL(REAL, IMAGINARY), \
-                     IF_TYPEDOBJ(REAL, IMAGINARY), IF_SAB(REAL, IMAGINARY))
+                     IF_TYPEDOBJ(REAL, IMAGINARY))
 
 #define JS_FOR_EACH_PROTOTYPE(MACRO) JS_FOR_PROTOTYPES(MACRO, MACRO)
 
 #endif /* js_ProtoKey_h */