[IFER] Fix red.
authorBrian Hackett <bhackett1024@gmail.com>
Sun, 04 Sep 2011 13:17:50 -0700
changeset 76577 f1c28af788ba290cf51f8717004dc8b69eb93e09
parent 76576 cd9eddc210bbafcbfaccd0df8ccbae1f411ef13c
child 76578 8385e0145b8dbcc44b5be0baaf17a05e11af0320
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
milestone9.0a1
[IFER] Fix red.
js/src/jsscript.h
--- a/js/src/jsscript.h
+++ b/js/src/jsscript.h
@@ -536,17 +536,21 @@ struct JSScript : public js::gc::Cell {
     uint16          nClosedArgs; /* number of args which are closed over. */
     uint16          nClosedVars; /* number of vars which are closed over. */
 
     /*
      * To ensure sizeof(JSScript) % gc::Cell::CellSize  == 0 on we must pad
      * the script with 4 bytes. We use them to store tiny scripts like empty
      * scripts.
      */
+#if JS_BITS_PER_WORD == 32
+#define JS_SCRIPT_INLINE_DATA_LIMIT 0
+#else
 #define JS_SCRIPT_INLINE_DATA_LIMIT 4
+#endif
     uint8           inlineData[JS_SCRIPT_INLINE_DATA_LIMIT];
 
     const char      *filename;  /* source filename or null */
     JSAtom          **atoms;    /* maps immediate index to literal struct */
   private:
     size_t          useCount;  /* Number of times the script has been called
                                  * or has had backedges taken. Reset if the
                                  * script's JIT code is forcibly discarded. */