Commit Graph

350 Commits

Author SHA1 Message Date
Brian Hackett
637c0ef693 [INFER] Fixes for botched merge. 2010-12-20 12:10:57 -08:00
Brian Hackett
5c9d6cbdb0 [INFER] Account for 'new' case in non-constructor type handlers, bug 618853. 2010-12-20 10:13:39 -08:00
Brian Hackett
89bb1d08e8 Merge TM -> JM 2010-12-20 09:06:43 -08:00
Brian Hackett
d765093435 [INFER] Unwind getProto() changes outside of JS, fix test failures, bug 619271. 2010-12-19 12:21:15 -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
582da529de Don't call setProperty from dense array defineProperty, bug 618350. r=waldo 2010-12-16 13:33:49 -08:00
Brian Hackett
b1539be336 [INFER] Handle non-array arguments to Array.concat, bug 617750. 2010-12-13 11:15:56 -08:00
Brian Hackett
0e9b3e328d [INFER] Fix incorrect uses of getDenseArrayCapacity in array_concat, CloneDensePrimitiveArray, and stubs::GetElem. 2010-12-11 07:30:44 -08:00
Brian Hackett
49c41c0cad [INFER] Fix incorrect use of getDenseArrayCapacity, bug 617745. 2010-12-11 07:07:02 -08:00
Brian Hackett
89185c8d55 [INFER] Fix botched merge. 2010-12-08 06:52:49 -08:00
Brian Hackett
accdca294b Merge TM -> JM 2010-12-07 17:11:37 -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
002fd1a589 Merge TM -> JM 2010-11-30 09:04:25 -08:00
Brian Hackett
abc31759f4 [INFER] Overhaul handling of prototypes in type inference, bug 557407. 2010-11-24 20:41:52 -05:00
Jan de Mooij
2c0fa33d2e Bug 614070 - Fix Array.prototype.unshift to always set the new length on this. r=jwalden
--HG--
extra : rebase_source : ee4b0898778b2646087405b177be891867f16380
2010-11-24 23:22:44 +01:00
Brian Hackett
36efb56b2b Analysis and recompilation tuning for SS, bug 608746. 2010-11-20 15:45:52 -08:00
Brian Hackett
ee3f068ff9 Merge TM -> JM 2010-11-18 21:09:24 -08:00
Chris Leary
3ef296cd53 Tracer build fixes. (b=588021, r=dvander) 2010-11-23 13:58:34 -08:00
David Mandelin
7fbeca4035 Bug 570385: notify iterators of dense array property deletion in DeleteArrayElement, r=igor 2010-11-19 17:01:26 -08:00
Brian Hackett
e225da4233 Merge TM -> JM. 2010-11-12 09:02:43 -08:00
Brian Hackett
4fa8fa4840 [INFER] Type inference fixes for generators, typed arrays, monitoring, ... bug 557407. 2010-11-09 14:40:10 -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
Brian Hackett
696cff5132 [INFER] Javascript type inference, bug 557407. 2010-10-29 08:05:55 -07:00
Nicholas Nethercote
505e8ac40a Bug 602703 - TM: create a layer over Nanojit's LIR creation API. r=lw. 2010-10-28 18:28:36 -07:00
Jeff Walden
ca6294d553 Bug 607148 - Remove unnamed namespaces from SpiderMonkey code. rs=luke 2010-10-25 16:47:11 -07:00
Jason Orendorff
bfaf004fd7 Merge. 2010-10-22 19:11:26 -05:00
Jason Orendorff
596862d852 Remove JSObject::title. Bug 606029, r=igor. 2010-10-22 19:04:22 -05:00
Andreas Gal
a4b0c37cda Remove obsolete wrappedObject extended class hook (604523, r=mrbkap/vlad/dvander). 2010-10-22 15:40:11 -07:00
Igor Bukanov
f110aa58b7 bug 603318 - make dense array slow during array growth, not during the GC. r=bhackett 2010-10-14 16:12:19 +02:00
David Mandelin
bf0a0f2c33 Bug 614915: set return value correctly when sorting a list containing only undefined values, r=cdleary 2010-11-30 10:25:07 -08:00
Tom Schuster
457468224a Bug 373118 - Fix handling of explicitly-provided |undefined| as an optional argument to various JS functions ([].sort, [].slice, "".slice, "".substr, "".substring). r=jwalden 2010-10-21 15:02:02 -07:00
Andreas Gal
6e672eda05 Backed out changeset 438afef93fd5 (bug 604523) due to suspected orange. 2010-10-20 23:19:05 -07:00
Andreas Gal
e5f45d98a2 Remove obsolete wrappedObject extended class hook (604523, r=mrbkap/vlad/dvander). 2010-10-20 22:41:35 -07:00
Nicholas Nethercote
913bd8a149 Bug 584279 - TM: improve alias analysis by adding many more access regions (2nd attempt). r=bhackett. 2010-10-18 12:55:56 -07:00
Tom Schuster
5369c7af87 Bug 604971 - array.sort compare-function gets incorrect this. r=jwalden 2010-10-18 12:24:23 -07:00
Nicholas Nethercote
be2aa1d407 Backed out changeset c961a413660c 2010-10-17 23:24:26 -07:00
Nicholas Nethercote
e48a2774f0 Bug 584279 - TM: improve alias analysis by adding many more access regions. r=bhackett. 2010-10-17 18:42:58 -07:00
Brian Hackett
f9cf7a5b7d Flexible length JSObject, bug 584917. r=brendan,igor 2010-10-13 11:49:22 -07:00
Jeff Walden
4626f47ec6 Bug 514570 - 3 - Don't box |this| for strict mode functions. r=jorendorff 2010-10-12 11:50:03 -07:00
Jeff Walden
7f75fc0a25 Bug 514570 - 2 - Push |undefined| rather than |null| when calling functions without a specified |this| value, per ES5. r=jorendorff 2010-10-12 11:50:03 -07:00
Paul Biggar
d5a5d3946f Bug 612292 - Rename array allocation functions (r=lw) 2010-12-13 16:22:59 -08:00
Jim Blandy
24b8297050 Bug 599159: Revert changes making Array length handling strict-sensitive, to be redone differently. r=brendan 2010-12-09 11:43:31 -08:00
Luke Wagner
36b12087f9 Bug 610038 - apply should not ignore indexed properties on the prototype (r=waldo) 2010-11-09 09:06:57 -08:00
Luke Wagner ext:(%2C%20Jan%20de%20Mooij%20%3Cjandemooij%40gmail.com%3E)
43464cfd48 Bug 595884 - JM: make f.apply(x, arguments) fast (r=dvander)
--HG--
extra : rebase_source : 81f5bd888164aecab2f3e701fb31ccf81affbc21
2010-10-21 11:42:28 -07:00
Luke Wagner
977a639eeb Bug 605192 - JM: make f.apply(x, obj) fast, part 1 (r=waldo)
--HG--
extra : rebase_source : cceaabf5a68cae8bfa67320b4a47f0673ade86c6
2010-10-20 23:52:55 -07:00
Boris Zbarsky
ffa00663da Bug 606141. ArrayCompPush can deep-bail, so handle that. r=jorendorff 2010-11-04 16:37:44 -04:00
Nicholas Nethercote
c8ae37081d Bug 607242 - TM: inline js_Array_dense_setelem_hole. r=gal. 2010-11-03 20:48:51 -07:00
Blake Kaplan
c0e2873909 Bug 596031 - 'this' is wrong in getters and setters when a proxy object is on the prototype chain. r=brendan/jorendorff/gal
--HG--
extra : rebase_source : 609b96c4b461e33f0f79dc74f714edfa882d1da0
2010-10-29 10:42:35 -07:00
Brian Hackett
d2c59c063a Compile INITPROP/INITELEM, bug 606477. r=jorendorff,dvander 2010-11-18 18:14:22 -08:00