Un-inline Vector::growStorageBy(); this was accidentally left out of the patch for bug 610857.
authorNicholas Nethercote <nnethercote@mozilla.com>
Tue, 16 Nov 2010 15:37:18 -0800
changeset 57833 7b8898c9b54c0471a02bcf1e65b9b02149665dd5
parent 57832 3c580750fa3863fe0035ad57405f0b0b7058e8ba
child 57834 301b97a2004287d8792378947e1dc29511ab613d
push id1
push usershaver@mozilla.com
push dateTue, 04 Jan 2011 17:58:04 +0000
bugs610857
milestone2.0b8pre
Un-inline Vector::growStorageBy(); this was accidentally left out of the patch for bug 610857.
js/src/jsvector.h
--- a/js/src/jsvector.h
+++ b/js/src/jsvector.h
@@ -484,17 +484,17 @@ Vector<T,N,AP>::convertToHeapStorage(siz
     /* Switch in heap buffer. */
     mBegin = newBuf;
     /* mLength is unchanged. */
     mCapacity = newCap;
     return true;
 }
 
 template <class T, size_t N, class AP>
-JS_ALWAYS_INLINE bool
+JS_NEVER_INLINE bool
 Vector<T,N,AP>::growStorageBy(size_t incr)
 {
     JS_ASSERT(mLength + incr > mCapacity);
     return usingInlineStorage()
          ? convertToHeapStorage(incr)
          : growHeapStorageBy(incr);
 }