Commit Graph

39046 Commits

Author SHA1 Message Date
Markus Stange
58dbbe3a90 Bug 931747 - Remove workaround for bug 896054 in JS::CanCompileOffThread that was added in bug 897655. r=bhackett 2013-10-29 12:39:53 +01:00
Terrence Cole
3dc028c926 Bug 909526 - Mark GetGlobalJSObject as not able to GC; r=sfink DONTBUILD 2013-08-26 16:41:11 -07:00
Phil Ringnalda
8af27b4af0 Merge m-c to m-i 2013-10-28 17:14:46 -07:00
Phil Ringnalda
5fff789551 Merge m-i to m-c 2013-10-28 16:57:08 -07:00
Lukas Blakk
1fcd935dd9 Merging in version bump NO BUG 2013-10-28 13:37:48 -07:00
Benjamin Bouvier
ef509d1c9a Bug 930993: In out of line truncate, restore registers in the correct order; r=jandem 2013-10-28 19:46:22 +01:00
Brian Hackett
4dd92c58c0 Bug 931496 - Check for compileability when eagerly baseline compiling inlined scripts, r=jandem. 2013-10-28 12:43:39 -06:00
Dan Gohman
93102744c9 Bug 931486 - SpiderMonkey: Misc x86 assembler spew fixes. r=sstangl 2013-10-28 10:44:53 -07:00
Dan Gohman
7669883a0b Bug 910782 - SpiderMonkey: Use absolute addresses instead of offsets for the interpreter's jump table. r=luke 2013-10-28 10:32:50 -07:00
Dan Gohman
4fe9d3557b Bug 910782 - SpiderMonkey: Micro-optimize the interpreter's dispatch mechanism. r=luke 2013-10-28 10:32:50 -07:00
Dan Gohman
c09f05e33e Bug 910782 - SpiderMonkey: Reorder top-level contents of js::Interpret for readability. r=luke 2013-10-28 10:32:50 -07:00
Dan Gohman
085e28da19 Bug 910782 - SpiderMonkey: Reduce indirection in InterpreterActivation. r=luke 2013-10-28 10:32:50 -07:00
Dan Gohman
bb1470c01a Bug 910782 - SpiderMonkey: Implement indirect-goto-based opcode dispatch. r=luke 2013-10-28 10:32:50 -07:00
Dan Gohman
9d73543775 Bug 910782 - SpiderMonkey: Eliminate a copy which is no longer hot. r=luke 2013-10-28 10:32:50 -07:00
Dan Gohman
da4b78f1fe Bug 910782 - SpiderMonkey: Cleanup interpreter switch cases. r=luke 2013-10-28 10:32:50 -07:00
Dan Gohman
7c2790ceae Bug 910782 - SpiderMonkey: Rename BEGIN_CASE to CASE. r=luke 2013-10-28 10:32:49 -07:00
Dan Gohman
446e8c34e8 Bug 910782 - SpiderMonkey: Introduce ADVANCE_AND_DISPATCH to simplify a common idiom. r=luke 2013-10-28 10:32:49 -07:00
Dan Gohman
4d66719409 Bug 910782 - SpiderMonkey: Wrap several gotos in macros. r=luke 2013-10-28 10:32:49 -07:00
Eddy Bruel
d94d3cb9a5 Bug 880330 - Remove the old options API; r=bholley 2013-10-28 12:59:04 +01:00
Eddy Bruel
088abb9836 Bug 880330 - Refactor jsd to use the new options API; r=sphink 2013-10-28 12:52:27 +01:00
Eddy Bruel
cbefd67b93 Bug 880330 - Refactor xpconnect shell to use the new options API; r=bholley 2013-10-28 12:43:17 +01:00
Jan de Mooij
7a574949b8 Bug 931039 - Rename IonRuntime/IonCompartment to JitRuntime/JitCompartment. r=h4writer
--HG--
rename : js/src/jit/IonCompartment.h => js/src/jit/JitCompartment.h
2013-10-28 11:33:01 +01:00
Jon Coppeard
54276f7449 Bug 927204 - Fix timout of jit-test basic/bug623860.js by replacing test with equivalent r=terrence 2013-10-28 10:28:29 +00:00
Terrence Cole
1a61e338d5 Bug 931218 - Fix an exact rooting hazard in JS_StealArrayBufferContents; r=sfink 2013-10-25 11:57:26 -07:00
Brian Hackett
2f4d6ffd15 Bug 927763 - Track all property types for singleton scope objects when Ion compiling scripts using them, r=jandem. 2013-10-28 09:12:56 -06:00
Ted Mielczarek
673fd74516 Bug 930674 - convert VISIBILITY_FLAGS in Makefile.in to NO_VISIBILITY_FLAGS in moz.build. r=mshal 2013-10-24 15:06:19 -04:00
Peter Van der Beken
c70da3b481 Bug 931467 - Make QS/DOM binding unwrapping like XPCConvert unwrapping for COWs. r=bholley.
--HG--
extra : rebase_source : bc3590722f310b7dfc9241cfa66eceb63651f5b7
2013-10-27 09:53:30 +01:00
Birunthan Mohanathas
5bfe05a87c Bug 784739 - Switch from NULL to nullptr in js/; r=ehsan 2013-10-28 10:06:30 -04:00
Nils Maier
ccc8856587 Bug 929297 - Part 2: Avoid calling amIAddonManager in reporters off the main process. r=njn 2013-10-28 04:53:00 +00:00
Benjamin Bouvier
7b8d46808e Bug 930477: Specialize Math.floor for Float32; r=jandem,jonco 2013-10-28 14:24:19 +01:00
Felix S. Klock II
a549d492fe Bug 929280: fix ThrowError invocation arities (r=shu). 2013-10-28 13:56:25 +01:00
Mike Hommey
2eefafb740 Bug 930896 - Keep track of files generated by a build backend. r=gps 2013-10-29 08:00:30 +09:00
Steve Fink
c423ede836 Bug 916677 - Split up the output files and append GC function stack to hazards. Also check against an expected hazard count, r=terrence
DONTBUILD because NPOTB
2013-10-28 14:21:46 -07:00
Gregory Szorc
9bd5fc0064 Bug 927837 - Don't manage generated files in configure; r=glandium
--HG--
extra : rebase_source : b502ce209de6a0ae10e130644e424687e4fae85e
2013-10-23 14:43:32 -07:00
Jim Blandy
01531b641d Bug 932025: Don't use Maybe<AutoCompartment> in OldDebugAPI.cpp, to avoid dumb G++ warnings. r=sfink 2013-10-28 15:45:58 -07:00
Jim Blandy
4760e9f4b7 Bug 921586: Avoid 'may be used uninitialized' warnings in StructuredClone.cpp. r=njn
Specifically, it seems that G++ 4.8.1 is unable to tell that the call to
AutoCompartment::~AutoCompartment is protected by the Maybe::constructed
flag.

The "solution" is not to use Maybe here; although Debugger.cpp uses
Maybe<AutoCompartment> everywhere, it gets away with it because it always
actually constructs the Maybe(?!?).

It's a shame to let the compiler's stupidity shape the code, but that
particular warning is valuable elsewhere, so I feel that we shouldn't just
disable the warning.

In file included from /home/jimb/moz/dbg/js/src/jsobjinlines.h:20:0,
                 from /home/jimb/moz/dbg/js/src/vm/StructuredClone.cpp:44:
/home/jimb/moz/dbg/js/src/jscompartmentinlines.h: In function ‘bool JS_StructuredClone(JSContext*, JS::Value, JS::Value*, const JSStructuredCloneCallbacks*, void*)’:
/home/jimb/moz/dbg/js/src/jscompartmentinlines.h:45:35: warning: ‘ac.js::AutoCompartment::origin_’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     cx_->leaveCompartment(origin_);
                                   ^
/home/jimb/moz/dbg/js/src/vm/StructuredClone.cpp:1521:41: note: ‘ac.js::AutoCompartment::origin_’ was declared here
         mozilla::Maybe<AutoCompartment> ac;
                                         ^
In file included from /home/jimb/moz/dbg/js/src/jsobjinlines.h:20:0,
                 from /home/jimb/moz/dbg/js/src/vm/StructuredClone.cpp:44:
/home/jimb/moz/dbg/js/src/jscompartmentinlines.h:45:35: warning: ‘ac.js::AutoCompartment::cx_’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     cx_->leaveCompartment(origin_);
                                   ^
/home/jimb/moz/dbg/js/src/vm/StructuredClone.cpp:1521:41: note: ‘ac.js::AutoCompartment::cx_’ was declared here
         mozilla::Maybe<AutoCompartment> ac;
                                         ^
2013-10-28 12:37:17 -07:00
Jim Blandy
2a20b0ddcc Bug 892643: Make the JSContext accessors GetRuntime, GetContextCompartment, and GetContextZone available for inlining by non-friend code. r=jcoppeard 2013-10-28 12:33:39 -07:00
Nicholas Nethercote
3b80765894 Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Phil Ringnalda
897c12c1f2 Bug 920463 followup, keep the test from turning permaorange when we merge to aurora and TypedObject gets turned off 2013-10-27 16:19:56 -07:00
Nicholas Nethercote
4dc801b276 Bug 930876 - Speed up per-tab profiling of JS by skipping the expensive string hashing. r=till.
--HG--
extra : rebase_source : e383c16197bed3258b01aa6d5d561d7ac306ea31
2013-10-25 00:00:53 -07:00
Peter Van der Beken
dfc2297bd8 Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
--HG--
extra : rebase_source : 7bde7ddfe297e189ffa678ca1d9c34000bc904ec
2013-10-08 17:51:42 +02:00
Dan Gohman
7b4eb026e6 Bug 925729 - SpiderMonkey: Fix memset size. r=me 2013-10-26 18:34:27 -07:00
Benjamin Bouvier
f70d2ac7df Bug 930990 - Make MTest a consistent Float32 operation. r=sstangl 2013-10-25 18:01:35 +02:00
Dan Gohman
09e9c0ba47 Bug 921120 - Fix an uninitialized member variable r=me 2013-10-26 15:41:31 -07:00
Benjamin Peterson
8c9c145d10 No bug - Assorted compiler warning fixes. r=me
--HG--
extra : rebase_source : 82010432d1515bc98383bef4564a46ca15a4a056
2013-10-26 14:00:03 -04:00
Ms2ger
9f5f57ea72 Revert to changeset 05c31c03a8dd. 2013-10-26 19:53:12 +02:00
Benjamin Peterson
2fd921d3a6 No bug - Add inline header to avoid warning about missing function. r=me 2013-10-26 13:20:12 -04:00
Benjamin Peterson
ad083a5ef9 No Bug - Fix equality in debug mode. r=me a=bustage CLOSED TREE 2013-10-26 13:12:21 -04:00
Benjamin Peterson
30bab79db2 No bug - Fix some unused variable warnings. r=me 2013-10-26 12:47:50 -04:00
Tom Schuster
127ebf3721 Bug 930782 - Handlify JS_WrapValue. r=terrence 2013-10-26 18:19:05 +02:00