Bug 676732 - Fix Windows bustage caused by 7fb15a645955.
authorNicholas Nethercote <nnethercote@mozilla.com>
Sun, 04 Sep 2011 21:58:19 -0700
changeset 77855 3fdf87297e66df3fe04d63b9b742c3d5c1ef60e3
parent 77854 6d0812c1f610f972a724c9e1fc23bb600a596dd2
child 77856 b264ee97923adc1f3e9c985f78039f956c55bf4b
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs676732
milestone9.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 676732 - Fix Windows bustage caused by 7fb15a645955.
js/src/jsobj.h
--- a/js/src/jsobj.h
+++ b/js/src/jsobj.h
@@ -473,17 +473,17 @@ struct JSObject : js::gc::Cell {
     union {
         /* If prototype, type of values using this as their prototype. */
         js::types::TypeObject *newType;
 
         /* If dense array, the initialized length (see jsarray.cpp). */
         jsuword initializedLength;
     };
 
-    size_t sizeOfSlotsArray(size_t(*mus)(void *));
+    JS_FRIEND_API(size_t) sizeOfSlotsArray(size_t(*mus)(void *));
 
     JSObject    *parent;                    /* object's parent */
     void        *privateData;               /* private data */
     jsuword     capacity;                   /* total number of available slots */
 
   private:
     js::Value   *slots;                     /* dynamically allocated slots,
                                                or pointer to fixedSlots() for