Bug 1030400 - Add sym to the 32 bit big endian branch. r=jorendorff
authorSteve Singer <steve@ssinger.info>
Wed, 25 Jun 2014 18:48:00 +0200
changeset 191142 433d3d69cecb4e024eda7fc951786c8f814692b6
parent 191141 6be0bab78c2ab8456f393a9a7b7463c1b2c6289e
child 191143 fc00d2afb15691121f7b44bdb697aec287cabc07
push id27031
push usercbook@mozilla.com
push dateFri, 27 Jun 2014 13:34:56 +0000
treeherdermozilla-central@cc7244eea5d5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorendorff
bugs1030400
milestone33.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 1030400 - Add sym to the 32 bit big endian branch. r=jorendorff
js/public/Value.h
--- a/js/public/Value.h
+++ b/js/public/Value.h
@@ -301,16 +301,17 @@ typedef union jsval_layout
     uint64_t asBits;
     struct {
         JSValueTag tag;
         union {
             int32_t        i32;
             uint32_t       u32;
             uint32_t       boo;     // Don't use |bool| -- it must be four bytes.
             JSString       *str;
+            JS::Symbol     *sym;
             JSObject       *obj;
             js::gc::Cell   *cell;
             void           *ptr;
             JSWhyMagic     why;
             size_t         word;
             uintptr_t      uintptr;
         } payload;
     } s;