Commit Graph

19644 Commits

Author SHA1 Message Date
Lukas Blakk
1d83c46b16 Merging in version bump NO BUG 2012-07-16 10:08:20 -07:00
Bill McCloskey
c4bd3603ac Bug 774104 - Add a read barrier when rooting JS objects (r=mccr8) 2012-07-15 14:37:15 -07:00
Bill McCloskey
2d2b45b384 Bug 774104 - Purge allocating arenas when incremental GC starts (r=mccr8) 2012-07-15 14:37:04 -07:00
Bill McCloskey
a5c4000a5d Bug 774104 - Avoid leaks during JS_TransplantObject (r=mccr8) 2012-07-15 14:36:58 -07:00
Ryan VanderMeulen
a997433ec6 Merge m-c to inbound. 2012-07-14 08:48:58 -04:00
Olli Pettay
6e882d2abe Bug 773803 - Remove nsIScriptObjectOwner, r=bz
--HG--
rename : dom/base/nsIScriptObjectOwner.h => dom/base/nsIScriptEventHandlerOwner.h
2012-07-14 01:23:59 +03:00
Ryan VanderMeulen
d60cdd471e Backout 3923d008386d (bug 753158) due to various regressions. 2012-07-13 23:48:08 -04:00
Jeff Walden
317033d088 Fix another obvious typo to make MutableHandle<Value> a friend of ValueOperations<MutableHandle<Value>> and MutableValueOperations<MutableHandle<Value>>. Followup to bug 773049, r=sparky
--HG--
extra : rebase_source : af69f1a76d4bd73fc9c87f778e4bd509242c78ea
2012-07-13 12:04:33 -07:00
Brian Hackett
ce1a73badb Fix rooting hazard in eval cache, no bug. r=billm 2012-07-13 14:03:52 -06:00
Brian Hackett
02aac91b9c Add more rooting for --enable-rootanalysis tbpl builds, bug 772303. r=terrence 2012-07-13 10:13:50 -06:00
Jan de Mooij
b116530f36 Bug 773586 - Initialize PICGenInfo::pc and clean up ICs a bit. r=bhackett 2012-07-13 15:32:25 +02:00
Bobby Holley
473b4a8aa9 Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv 2012-07-13 14:33:25 +02:00
Bobby Holley
f3dc2d0945 Bug 771202 - Add a PostTransplant nsIXPCScriptable hook. r=peterv 2012-07-13 10:55:14 +02:00
Ryan VanderMeulen
21fa0501b6 Merge m-c to inbound. 2012-07-14 00:01:46 -04:00
Eric Faust
8144c1a6fd Bug 766447 - Teach TI about the new DOM bindings. (r=bhackett) 2012-07-11 20:55:19 -07:00
Jeff Walden
4f246dc2cd Bug 773049 - Fix a comment typo noted by terrence over IRC, DONTBUILD to save resources. r=lumpy 2012-07-12 16:42:26 -07:00
Benjamin Peterson
73d526b592 Bug 773115 - Remove unneeded needStrictChecks() call. r=njn 2012-07-12 19:28:54 -04:00
Benjamin Peterson
b2b5c0b8eb Bug 772012 - When the rest parameter aliases a function and defaults are present, don't try to set the rest parameter. r=jorendorff 2012-07-12 19:28:54 -04:00
Jeff Walden
f63867b624 Bug 773049 - Implement the Value interface in MutableHandle<Value> and Rooted<Value> (in addition to Handle<Value> and EncapsulatedValue which already manually implemented it), consolidating the Value interface bits in ValueOperations and MutableValueOperations classes using CRTP. r=bhackett
--HG--
extra : rebase_source : 436385599a7f071792c2d14037e1a1c639427c4f
2012-07-12 03:01:59 -07:00
Luke Wagner
7caedb2531 Bug 773108 - Avoid overflowing blockid in CompExprTransplanter (r=dvander) 2012-07-11 22:07:25 -07:00
Brian Hackett
3341919684 Add more rooting for interpreter, TI and JIT, bug 772303, r=terrence. Also disable Windows PGO for RegExp.cpp because the compiler is broken. 2012-07-12 12:36:27 -06:00
Luke Wagner
2d1787a065 Bug 753158 - emit ALIASEDVAR ops for upvars (r=bhackett)
--HG--
extra : rebase_source : 53c280967abc57f5a19e7dbc1dcfacc0603b202b
2012-07-05 20:35:08 -07:00
Luke Wagner
f6e3b26c60 Bug 753145 - Attach static scope nesting information to scripts (r=jimb)
--HG--
extra : rebase_source : 0eaf04cf7f302308ce7f76c2012f75195e41f1bf
2012-07-03 10:24:36 -07:00
Luke Wagner
27666e8af3 Bug 767750 - rm JSScript::evalHashLink (r=njn)
--HG--
extra : rebase_source : 6cbf87dc2cbc23c60ee278b9fd3b64b0936517bc
2012-07-03 10:24:35 -07:00
Luke Wagner
4a53eceac9 Bug 765956 - Remove the non-reentrant closure optimization (r=bhackett)
* * *
imported patch fix-debugger-for-non-reentrant-removal

--HG--
extra : rebase_source : d77f8e19d0674726fb4078a73b6a3cb57ac91d73
2012-07-03 10:24:35 -07:00
Luke Wagner
e3d25b3ca4 Bug 765956 - Set Bindings' parent eagerly (r=bhackett)
--HG--
extra : rebase_source : 4f907c3e3692199033813539b173189d760b4a7c
2012-06-20 08:57:29 -07:00
Luke Wagner
ae21a32922 Bug 771039 - assert some invariants in BindNameToSlot (r=dvander)
--HG--
extra : rebase_source : 9d0ba59ce4042bad88a7882b58b33f5f7b9ac19f
2012-07-05 20:29:24 -07:00
Luke Wagner
79954471dd Bug 771039 - fix CompExpTransplanter to correctly fix up implicit arguments definitions in generator expressions (r=dvander)
--HG--
extra : rebase_source : 27ac2ef2f61894272c5186eca8a77e54af286150
2012-07-08 04:35:09 -07:00
Jeff Walden
4527b9419d Remove a stray semicolon that causes a warning compiling pretty much any SpiderMonkey file. No bug, r=themaid 2012-07-12 10:53:43 -07:00
Ed Morley
c258987354 Backout 6bbf3f22bb5d (bug 753158), 38a703b244c2 (bug 753145), c9a5dfa1b07d (bug 767750), cd782fd66995 & 6cf7aa93994c (bug 765956), 0253f34f6bc2 & 41d5c8529748 (bug 771039),94f6bf99a4aa (bug 766447),fad7d06d7dd5 (bug 772303) for winxp pgo-only jsreftest failures (caused by fad7d06d7dd5) and the rest for conflicts, on a CLOSED TREE 2012-07-12 13:04:51 +01:00
Bobby Holley
4262204785 Bug 601277 - Better tests for document.domain. r=mrbkap 2012-07-12 10:10:15 +02:00
Bobby Holley
15d867f5bd Bug 655649 - Stop doing dynamic security checks for document.domain. r=mrbkap 2012-07-12 10:10:15 +02:00
Bobby Holley
4a5e0d850d Bug 655649 - Use Subsumes Rather than Equals in XPConnect wrapper computation. r=mrbkap
Now that we have nsExpandedPrincipal, the current way of doing things is wrong. For some reason, the old document.domain hackery was hiding the failures here.
2012-07-12 10:10:15 +02:00
Benjamin Peterson
7430390c8b Bug 773153: don't use operand context when looking for line end. r=njn 2012-07-12 00:03:25 -07:00
Mike Hommey
882d156651 Bug 763651 - Link the javascript engine against zlib. r=khuey 2012-07-12 08:30:59 +02:00
Luke Wagner
3405e5ff71 Bug 753158 - emit ALIASEDVAR ops for upvars (r=bhackett)
--HG--
extra : rebase_source : 73a1f673c0bcceb93dbe9e86acd8a99fbe3fb005
2012-07-05 20:35:08 -07:00
Luke Wagner
e0090c353d Bug 753145 - Attach static scope nesting information to scripts (r=jimb)
--HG--
extra : rebase_source : c2608319ab0c6a1668c1ec130569867d2013e0a4
2012-07-03 10:24:36 -07:00
Luke Wagner
93d5a7d1e8 Bug 767750 - rm JSScript::evalHashLink (r=njn)
--HG--
extra : rebase_source : 64101b0dbe1a8246e043637dca7469016362f62d
2012-07-03 10:24:35 -07:00
Luke Wagner
a04ba6b197 Bug 765956 - Remove the non-reentrant closure optimization (r=bhackett)
* * *
imported patch fix-debugger-for-non-reentrant-removal

--HG--
extra : rebase_source : d534ed39a2ae3e245588288391759744f2081bde
2012-07-03 10:24:35 -07:00
Luke Wagner
2ea5b818d8 Bug 765956 - Set Bindings' parent eagerly (r=bhackett)
--HG--
extra : rebase_source : 198757535745ab10f4bba192b163d38768e7260b
2012-06-20 08:57:29 -07:00
Luke Wagner
b90004edef Bug 771039 - assert some invariants in BindNameToSlot (r=dvander)
--HG--
extra : rebase_source : fb7cbfa0cfcfd612c67cfc4961609ad424b59a1d
2012-07-05 20:29:24 -07:00
Luke Wagner
6de85bc9d0 Bug 771039 - fix CompExpTransplanter to correctly fix up implicit arguments definitions in generator expressions (r=dvander)
--HG--
extra : rebase_source : b28f0c1eefe5ca6c17b1a39a4034abe6b9041747
2012-07-08 04:35:09 -07:00
Phil Ringnalda
a3254c05d8 Back out 5eacd4fc78e4 (bug 772722) for mochitest-4 shutdown crashes 2012-07-11 22:23:56 -07:00
Eric Faust
356d4133e7 Bug 766447 - Teach TI about the new DOM bindings. (r=bhackett) 2012-07-11 20:55:19 -07:00
Terrence Cole
96fa483e47 Bug 772722 - Remove superfluous usage of Atomics in SpiderMonkey; r=luke
None of the current usages of ATOMIC_INC/DEC are useful now that we do not allow
multi-threaded runtimes. This also removes a pre-mature optimization that
happened to be using the atomics. I measured it as saving strictly < 3us on old
hardware.
2012-07-11 14:32:00 -07:00
Alex Crichton
d0f7efe4f6 Bug 772078 - Remove JS entries even when stopping the SPS profiler. r=luke 2012-07-11 16:23:52 -07:00
Steve Fink
ef6c2fe0ab Backed out changeset d99d8b4d0eeb (bug 769192) for mochitest-3 bustage
--HG--
extra : rebase_source : 0c44009fc689b0b95da0c7fdac401a1755fb8fca
2012-07-11 15:32:26 -07:00
Brian Hackett
11ef2e39ab Add more rooting for interpreter, TI and JIT, bug 772303. r=terrence 2012-07-11 16:22:41 -06:00
Steve Fink
ca260a8f0c Bug 769192 - Typed array accessors should not use JSPROP_READONLY. r=Waldo
--HG--
extra : rebase_source : 5055b1618b876db58c219512e0168dad28104344
2012-07-11 11:54:56 -07:00
Steve Fink
abbac876f4 Bug 758106 - Intentionally leak poisoned pointers when using rooting analysis. r=bhackett
--HG--
extra : rebase_source : d0eb52bd01bb64111c32e1f491435f5c731a9647
2012-07-11 11:54:48 -07:00