patches/spidermonkey-02-jsfunc.diff
author yippi
Sat, 22 Oct 2011 01:00:00 +0000
changeset 3902 66caadcb64c4
permissions -rw-r--r--
2011-10-22 Brian Cameron <[email protected]> * SFEgnome-shell.spec, patches/gnome-shell-01-compile.diff: Bump to 3.2.1. * SFEgnome-shell-extensions.spec: Bump to 3.2.0. * SFEcaribou.spec: Add new spec, version 0.4.1. * SFEspidermonkey.spec, patches/spidermonkey-01-js-ctypes.diff, patches/spidermonkey-02-jsfunc.diff, patches/spidermonkey-03-methodjit-sparc.diff, patches/spidermonkey-04-jemalloc.diff, patches/spidermonkey-05-pgo-ss12_2.diff, patches/spidermonkey-06-use-system-libffi.diff, patches/spidermonkey-07-makefile.diff: Add spec-file for the Mozilla SpiderMonkey JavaScript Engine (js185). * SFEmutter.spec, patches/mutter-03-compile.diff: Bump to 3.2.1. * SFEgjs.spec, patches/gjs-01-solaris.diff: Bump to 1.30.0. Rework patch. * base-specs/telepathy-glib.spec: Bump to 0.16.0.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3902
66caadcb64c4 2011-10-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     1
diff --git a/js/src/jsfun.h b/js/src/jsfun.h
66caadcb64c4 2011-10-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     2
index a52092c..9555a03 100644
66caadcb64c4 2011-10-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     3
--- a/js/src/jsfun.h
66caadcb64c4 2011-10-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     4
+++ b/js/src/jsfun.h
66caadcb64c4 2011-10-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     5
@@ -144,6 +144,7 @@ struct JSFunction : public JSObject_Slots2
66caadcb64c4 2011-10-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     6
         void            *nativeOrScript;
66caadcb64c4 2011-10-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     7
     } u;
66caadcb64c4 2011-10-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     8
     JSAtom          *atom;        /* name for diagnostics and decompiling */
66caadcb64c4 2011-10-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     9
+    void            *dummy;       /* for building with Solaris Studio */
66caadcb64c4 2011-10-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    10
 
66caadcb64c4 2011-10-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    11
     bool optimizedClosure()  const { return FUN_KIND(this) > JSFUN_INTERPRETED; }
66caadcb64c4 2011-10-22 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    12
     bool needsWrapper()      const { return FUN_NULL_CLOSURE(this) && u.i.skipmin != 0; }