Brian Hackett
eaea79df6e
Merge TM -> JM
2011-03-10 09:20:42 -08:00
Brian Hackett
d639ada378
Merge TM -> JM
2011-03-09 09:58:49 -08:00
Andreas Gal
e787b97701
Sweep compartments when no objects live in them (bug 639270, r=gregor).
2011-03-08 20:58:38 -08:00
Phil Ringnalda
d21d12b55b
Back out 80d8431f209e (bug 639270) for failing to actually compile
2011-03-08 19:59:30 -08:00
Andreas Gal
033fce6c39
Sweep compartments when no objects live in them (bug 639270, r=gregor).
2011-03-08 18:10:47 -08:00
Brian Hackett
29b930888d
[INFER] Use js_malloc instead of cx->malloc for inference data made when condensing in GC, bug 619433.
2011-03-08 10:21:54 -08:00
Brian Hackett
db3ad72d5f
[INFER] Handle GCs inside eval() statements, bug 639591.
2011-03-07 18:44:21 -08:00
Andreas Gal
29c7365b34
Make empty shape initialization lazy (bug 639254, r=billm).
2011-03-07 18:42:04 -08:00
Brian Hackett
f868e29684
[INFER] Miscellaneous fixes to get inference passing jstests.
2011-03-04 07:50:32 -08:00
Brian Hackett
41091b1bb6
[INFER] Fix OOM handling in type inference, convert inference to runtime option, bug 637674.
2011-03-03 14:07:48 -08:00
Brian Hackett
e5020a35b3
[INFER] Condense type information during GC, bug 613221.
2011-03-01 13:10:05 -08:00
Brian Hackett
0a2cdd3c56
Merge TM -> JM
2011-02-25 18:21:43 +13:00
Bill McCloskey
5ecac5c965
Bug 635873 - Fix shape marking during per-compartment GCs (r=gal,a=dmandelin)
2011-02-22 12:45:18 -08:00
Jeff Walden
7ce51759aa
Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange.
...
--HG--
extra : rebase_source : e2e56a78bc0eea0d6e005bc976c74b33d8c22281
2011-02-19 19:50:19 -08:00
Chris Leary
30ecc46b76
Bug 614155: Lazily construct toSource cache. (r=lw)
...
--HG--
extra : rebase_source : cbf922c5ce45b7d656ef3fdbd4c872a4ff82aacc
2011-03-03 15:28:25 -08:00
Jeff Walden
e604ceddc7
Bug 631135 - Objects created by or on behalf of fast natives and property ops (getters or setters) are parented to the wrong proto and global. r=lw,jst,mrbkap,bz, a=jst
2011-02-08 17:20:06 -08:00
Chris Leary
369b6ada3c
Backed out changeset 62a979cc89a2 due to risk (bug 614155).
2011-02-16 13:33:08 -08:00
Chris Leary
76e3096daf
Bug 614155: free memory for source cache on GC. (r=lw)
2011-02-16 10:17:49 -08:00
Andreas Gal
8e653a3ac9
Don't crash when reaching a non-wrapper along the proto chain of a wrapper (bug 634236, r=mrbkap).
2011-02-15 11:17:14 -08:00
Andreas Gal
37635547a6
Bug 633879 - Stop wrappers from holding old scopes alive. r=mrbkap@gmail.com,jst@mozilla.com, a=blocker
2011-02-14 14:19:36 -08:00
Bill McCloskey
42e73fa7bc
Bug 631951 - Shrink methodjit memory usage by interpreting a few times before compiling (r=dvander)
2011-02-11 16:31:32 -08:00
Chris Leary
9b75236c71
Fix --disable-methodjit build. (r=billm)
...
--HG--
extra : rebase_source : 4a76e8513611d8eb9ad16d5d3c0465692bfa4105
2011-02-11 13:45:56 -08:00
Jim Blandy
de75b9fa19
Bug 537873: Add a 'strict' argument to C++ property setter functions. r=brendan
...
This changes the type of setters to JSStrictPropertyOp, which is just like
JSPropertyOp except that it takes a 'JSBool strict' argument. Most of the
patch is introducing distinct types and using the appropriate stubs.
The following are left for subsequent patches:
x Similar fixes to the browser outside SpiderMonkey.
x Actually *using* the newly available strictness information. This patch
should have no user-visible effect. I didn't want the interesting stuff
to get lost in this noise.
2011-02-09 11:31:40 -08:00
Brian Hackett
b5bb63ceba
[INFER] Decouple type sets computed by inference from analysis information, store in new TypeScript struct, bug 621301.
2010-12-28 14:53:50 -05:00
Brian Hackett
89bb1d08e8
Merge TM -> JM
2010-12-20 09:06:43 -08:00
Brian Hackett
baf09eaede
[INFER] Objects with same shape have same type, objects with same type have same prototype, bug 619271.
2010-12-18 20:44:51 -08:00
Brian Hackett
9cac74e3d5
Periodically discard JIT code during GC, bug 617656. r=dmandelin
2010-12-17 16:33:04 -08:00
Luke Wagner
d8719356c0
Bug 609440, part 4 - make JSString::chars() fallible (r=waldo,dvander,igor,dwitte,njn)
2010-12-06 10:26:58 -08:00
Brian Hackett
fb8384eed2
[INFER] Introduce packed arrays, bug 604045.
2010-11-05 07:37:09 -07:00
Brian Hackett
d0775091ec
Merge TM -> JM
2010-11-01 15:37:33 -07:00
Robert Sayre
03513401da
Bug 595243 - Expose debugMode to JSD. Relanding test bustage fixed up. r=gal.
2010-10-30 12:13:02 -04:00
Jeff Walden
f48a8e6d43
Merge backout.
2010-10-29 22:36:37 -07:00
Jeff Walden
ff603e73f4
Backed out changeset 85feecf161fe (Career Limiting Move? < http://bonsai.mozilla.org/cvsquery.cgi?who=sspitzer%40netscape.com&whotype=regexp&date=explicit&mindate=2001-01-25+10%3A00&maxdate=2001-01-25+10%3A15 >), seems to have turned mochitest-plain-4 orange.
2010-10-29 22:31:12 -07:00
Robert Sayre
19cc79ccf3
Bug 595243 - Expose debugMode to JSD. r=gal
2010-10-29 18:35:07 -04:00
Brian Hackett
696cff5132
[INFER] Javascript type inference, bug 557407.
2010-10-29 08:05:55 -07:00
David Mandelin
1f754fcd0f
Bug 604798: move JM global data to compartment, r=dvander
2010-10-29 15:37:13 -07:00
David Mandelin
747cf33686
Backed out changeset ecd2f8753d5a: argh, fixes didn't land for some reason
2010-10-29 16:22:44 -07:00
David Mandelin
7779114001
Bug 604798: move JM global data to compartment, r=dvander
2010-10-29 15:37:13 -07:00
David Mandelin
867a8a9f10
Backed out changeset 394e0bd325b1: tinderbox bustage
2010-10-29 16:08:47 -07:00
David Mandelin
1932408866
Bug 604798: move JM global data to compartment, r=dvander
...
--HG--
extra : rebase_source : 459bbec8a3f8ab3739806da7336a0a10cee9bcd1
2010-10-29 15:37:13 -07:00
Andreas Gal
257334300b
Backed out changeset 685accd622f0 (bug 606065).
2010-10-24 13:21:33 -07:00
Andreas Gal
61a710e895
Move deflated string cache into compartment (606065, r=jorendorff).
2010-10-24 02:07:42 -07:00
Andreas Gal
4ef624448b
Don't wrap StopIteration singleton, just translate it to the current global's StopIteration object and freeze StopIteration at birth (606573, r=mrbkap).
2010-10-23 16:24:32 -07:00
Brian Hackett
f9cf7a5b7d
Flexible length JSObject, bug 584917. r=brendan,igor
2010-10-13 11:49:22 -07:00
Peter Van der Beken
645d07dc67
Bug 580128. Remove cross origin string wrappers from hash when the wrapped string dies. r=mrbkap.
...
As a note: this bug took peterv and mrbkap 7 hours to track down using replay debugging after spending hours trying to even catch it on a replay debugging box.
2010-10-10 15:49:38 -07:00
Blake Kaplan
d1776a6e22
bug 580128 - Reparent proxies when we pull them out of the map in order to try to keep their parents sembling something current. r=jst
2010-10-10 15:47:48 -07:00
Andreas Gal
5724ba40ea
bug 580128 - Cross origin wrapper needs no waive xray flag. r=mrbkap
2010-10-10 15:47:22 -07:00
Andreas Gal
2975066de7
bug 580128 - Make e4x anyname etc be per compartment, not in the default compartment. r=mrbkap
2010-10-10 15:46:05 -07:00
Blake Kaplan
c563e195ac
bug 580128 - Allow API consumers to pass in a new object altogether before trying to wrap in a security wrapper. r=gal/peterv
2010-10-10 15:36:38 -07:00
Blake Kaplan
b592545085
bug 580128 - Outerize in JS instead of in the rewrap hook so the identity in the wrapper map stays constant. r=gal
2010-09-28 17:02:43 -07:00