Bug 960653 - part 2 - change JSJitInfo.{protoID,depth} to 16-bit fields; r=bz,efaust
authorNathan Froyd <froydnj@mozilla.com>
Thu, 16 Jan 2014 11:26:39 -0500
changeset 163881 4b70796946456df101de34d7b4ef84619fe58f08
parent 163880 2da6a47736c54505c67cef95e77e0a2897f71526
child 163882 ea76da4c0f0ec00cbec0c6d6adbb74af2c4b95c0
push id38579
push usernfroyd@mozilla.com
push dateFri, 17 Jan 2014 02:06:03 +0000
treeherdermozilla-inbound@4b7079694645 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz, efaust
bugs960653
milestone29.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 960653 - part 2 - change JSJitInfo.{protoID,depth} to 16-bit fields; r=bz,efaust
js/src/jsfriendapi.h
--- a/js/src/jsfriendapi.h
+++ b/js/src/jsfriendapi.h
@@ -1512,18 +1512,18 @@ struct JSJitInfo {
     union {
         JSJitGetterOp getter;
         JSJitSetterOp setter;
         JSJitMethodOp method;
         /* An alternative native that's safe to call in parallel mode. */
         JSParallelNative parallelNative;
     };
 
-    uint32_t protoID;
-    uint32_t depth;
+    uint16_t protoID;
+    uint16_t depth;
     // type not being ParallelNative means this is a DOM method.  If you
     // change that, come up with a different way of implementing
     // isDOMJitInfo().
     OpType type;
     JSValueType returnType; /* The return type tag.  Might be JSVAL_TYPE_UNKNOWN */
     uint16_t isInfallible : 1; /* Is op fallible? False in setters. */
     uint16_t isMovable : 1;    /* Is op movable?  To be movable the op must
                                   not AliasEverything, but even that might