Commit Graph

19624 Commits

Author SHA1 Message Date
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
Terrence Cole
3b84f6595f Backed out changeset 9dc4e44365c4 2012-07-11 14:10:02 -07:00
Terrence Cole
3da73432b9 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
29007fc7cc 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
38a59d2484 Bug 771908 - Get rid of Wrapper::leave; r=bholley, sr=mrbkap 2012-07-11 14:01:10 +02:00
Benjamin Peterson
2728dc575c Bug 772691 - Disallow XML in function defaults. r=njn 2012-07-10 21:41:00 -04:00
Andrew McCreight
745479e48c 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
6cee4cb673 Add more rooters, bug 772303. r=billm 2012-07-10 19:17:29 -06:00
Luke Wagner
1a6a842c35 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
6e190f1cda 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
Luke Wagner
b844e5f326 Bug 772285 - rm JSPD_ARGUMENT/JSPD_VARIABLE (r=sfink)
--HG--
extra : rebase_source : 7be9ea3e5e90be9abd65f7d5268741e453cc717b
2012-07-10 15:34:12 -07:00
Jeff Walden
21b5bf2015 Bug 771743 - Remove generator_op and have the methods that call it do their work manually. r=luke 2012-07-06 15:35:59 -07:00
Jeff Walden
45a0d67909 Bug 771744 - Remove num_toStringHelper in favor of including its functionality in callers (most of which don't even need all its functionality!). r=luke 2012-07-06 17:45:14 -07:00
Jeff Walden
84a701e5d9 Bug 771744 - Move declarations from the start of num_toLocaleString throughout the method, for better readability. r=luke 2012-07-06 17:30:06 -07:00
Jeff Walden
9dd9c8edba Bug 771744 - Remove num_to, and fold its functionality into its callers, for greater clarity and readability, and to move method-guarding code to the start of each user method. r=luke 2012-07-06 17:21:18 -07:00
Jeff Walden
c6282b8739 Bug 771946 - Convert most of the internal Date functions to work in terms of doubles, and add a ton of assertions to verify proper time clipping, integerization, etc. r=luke 2012-07-09 14:28:20 -07:00
Cameron Kaiser
80b6ddf595 Bug 771320 - Use payloadOf/PAYLOAD_OFFSET when constructing PIC stubs. r=bhackett 2012-07-10 18:31:04 -04:00
Neil Rashbrook
01d1ceb4dc Bug 770182 Warn when preprocessing unnecessarily r=bsmedberg 2012-07-10 22:01:08 +01:00
Ehsan Akhgari
e846cefb4b Backout changeset 3a7ece100089 (bug 770182) because of make check failures 2012-07-10 15:41:43 -04:00