Commit Graph

19633 Commits

Author SHA1 Message Date
Brian Hackett
a5275e577d Fix rooting hazard in eval cache, no bug. r=billm 2012-07-13 14:03:52 -06:00
Brian Hackett
c92b296ee8 Add more rooting for --enable-rootanalysis tbpl builds, bug 772303. r=terrence 2012-07-13 10:13:50 -06:00
Jan de Mooij
2991840b79 Bug 773586 - Initialize PICGenInfo::pc and clean up ICs a bit. r=bhackett 2012-07-13 15:32:25 +02:00
Bobby Holley
1a88142535 Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv 2012-07-13 14:33:25 +02:00
Bobby Holley
36dc1f0877 Bug 771202 - Add a PostTransplant nsIXPCScriptable hook. r=peterv 2012-07-13 10:55:14 +02:00
Eric Faust
8cc5a05403 Bug 766447 - Teach TI about the new DOM bindings. (r=bhackett) 2012-07-11 20:55:19 -07:00
Jeff Walden
c789b193fa 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
bedf163a14 Bug 773115 - Remove unneeded needStrictChecks() call. r=njn 2012-07-12 19:28:54 -04:00
Benjamin Peterson
c98f778932 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
b940fd409c 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
5a689cbdcd Bug 773108 - Avoid overflowing blockid in CompExprTransplanter (r=dvander) 2012-07-11 22:07:25 -07:00
Brian Hackett
da6b1a78cd 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
51d299ed9e Bug 753158 - emit ALIASEDVAR ops for upvars (r=bhackett)
--HG--
extra : rebase_source : 53c280967abc57f5a19e7dbc1dcfacc0603b202b
2012-07-05 20:35:08 -07:00
Luke Wagner
9a75002756 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
439bdb3b68 Bug 767750 - rm JSScript::evalHashLink (r=njn)
--HG--
extra : rebase_source : 6cbf87dc2cbc23c60ee278b9fd3b64b0936517bc
2012-07-03 10:24:35 -07:00
Luke Wagner
2c9d40f617 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
043fc7c6eb Bug 765956 - Set Bindings' parent eagerly (r=bhackett)
--HG--
extra : rebase_source : 4f907c3e3692199033813539b173189d760b4a7c
2012-06-20 08:57:29 -07:00
Luke Wagner
f86b798bff Bug 771039 - assert some invariants in BindNameToSlot (r=dvander)
--HG--
extra : rebase_source : 9d0ba59ce4042bad88a7882b58b33f5f7b9ac19f
2012-07-05 20:29:24 -07:00
Luke Wagner
325a844223 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
2dc0ce9a5b 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
b42ebe8a76 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
3bdccb2949 Bug 601277 - Better tests for document.domain. r=mrbkap 2012-07-12 10:10:15 +02:00
Bobby Holley
bf7c218243 Bug 655649 - Stop doing dynamic security checks for document.domain. r=mrbkap 2012-07-12 10:10:15 +02:00
Bobby Holley
63851e7543 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
d190590ad3 Bug 773153: don't use operand context when looking for line end. r=njn 2012-07-12 00:03:25 -07:00
Mike Hommey
d145a2d1a8 Bug 763651 - Link the javascript engine against zlib. r=khuey 2012-07-12 08:30:59 +02:00
Luke Wagner
411e5b385f Bug 753158 - emit ALIASEDVAR ops for upvars (r=bhackett)
--HG--
extra : rebase_source : 73a1f673c0bcceb93dbe9e86acd8a99fbe3fb005
2012-07-05 20:35:08 -07:00
Luke Wagner
6c1cb57b2c 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
a7b7bef14f Bug 767750 - rm JSScript::evalHashLink (r=njn)
--HG--
extra : rebase_source : 64101b0dbe1a8246e043637dca7469016362f62d
2012-07-03 10:24:35 -07:00
Luke Wagner
85d2d15622 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
b663dca0f6 Bug 765956 - Set Bindings' parent eagerly (r=bhackett)
--HG--
extra : rebase_source : 198757535745ab10f4bba192b163d38768e7260b
2012-06-20 08:57:29 -07:00
Luke Wagner
b8b3423ac1 Bug 771039 - assert some invariants in BindNameToSlot (r=dvander)
--HG--
extra : rebase_source : fb7cbfa0cfcfd612c67cfc4961609ad424b59a1d
2012-07-05 20:29:24 -07:00
Luke Wagner
fd1cfa5f8f 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
6dd4d1a2be Back out 5eacd4fc78e4 (bug 772722) for mochitest-4 shutdown crashes 2012-07-11 22:23:56 -07:00
Eric Faust
c9728904d1 Bug 766447 - Teach TI about the new DOM bindings. (r=bhackett) 2012-07-11 20:55:19 -07:00
Terrence Cole
5aa5f87d20 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
6e1f9c130b Bug 772078 - Remove JS entries even when stopping the SPS profiler. r=luke 2012-07-11 16:23:52 -07:00
Steve Fink
59373082a3 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
714b548448 Add more rooting for interpreter, TI and JIT, bug 772303. r=terrence 2012-07-11 16:22:41 -06:00
Steve Fink
1a1a0332ce 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
1a345cef20 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
Terrence Cole
ac08e5383f Backed out changeset 9dc4e44365c4 2012-07-11 14:10:02 -07:00
Terrence Cole
0a56ae80a2 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 13:49:51 -07:00
Gregor Wagner
67d201613b Bug 765435 - Make JS heap growth factor depend on the heap size after a GC and GC frequency. r=billm 2012-07-11 11:09:53 -07:00
Eddy Bruel
aeda49b01d Bug 771908 - Get rid of Wrapper::leave; r=bholley, sr=mrbkap 2012-07-11 14:01:10 +02:00
Benjamin Peterson
96009147e9 Bug 772691 - Disallow XML in function defaults. r=njn 2012-07-10 21:41:00 -04:00
Andrew McCreight
97d04b5f84 Bug 704623 - Track memory used by orphan DOM nodes. code=mccr8,njn. r=njn,mccr8.
--HG--
extra : rebase_source : f4a4b6e1b1de35a08e86130110a6fbd588093867
2012-04-20 14:01:33 +10:00
Brian Hackett
d270a70bec Add more rooters, bug 772303. r=billm 2012-07-10 19:17:29 -06:00
Luke Wagner
73cdcc4dea Bug 770737 - Make JSContext::global() return Handle<GlobalObject*> (r=billm)
--HG--
extra : rebase_source : af8f4c7461cc07d4ebc34ddff0a801432fa27ddd
2012-07-10 16:14:59 -07:00
Luke Wagner
eb291f3ab2 Bug 771998 - add Handle<Value> specialization that is better suited for Value (r=billm)
--HG--
extra : rebase_source : b52fd5f8f6dda2343d1e4266dee6385ae9ef7a7a
2012-07-10 15:48:07 -07:00