Commit Graph

609 Commits

Author SHA1 Message Date
Jeff Walden
95c8f07d4f Bug 691993 - Split deleteProperty into property and generic forms, and use them throughout the engine. r=bhackett 2011-10-04 17:49:57 -07:00
Jeff Walden
dc09286c0e Bug 691992 - Split getAttributes and setAttributes into property and generic forms, and use them throughout the engine. r=bhackett 2011-10-04 17:21:06 -07:00
Brian Hackett
762ba0800e Merge TM -> JM. 2010-11-12 09:02:43 -08:00
Brian Hackett
c9539caef9 [INFER] Type inference fixes for generators, typed arrays, monitoring, ... bug 557407. 2010-11-09 14:40:10 -08:00
Boris Zbarsky
d55f6f85ca Bug 699705. When forwarding property gets to the proto for arrays, send along the right receiver even if the property lives on a non-native object. r=waldo 2011-11-04 12:26:03 -04:00
Boris Zbarsky
cf1b15171a Bug 698495 part 2. Add an optional getElementIfPresent ObjectOps hook. r=waldo 2011-11-04 12:19:00 -04:00
Boris Zbarsky
747bb5da35 Bug 698495 part 1. Create a getElementIfPresent method on JSObject with a generic implementation and use it from JSArray code. r=waldo 2011-11-04 12:18:52 -04:00
Boris Zbarsky
4ed0d941d0 Bug 699661. Call the class getElement hook from JSObject::getElement as needed. r=waldo 2011-11-04 01:32:09 -04:00
Luke Wagner
73ff885804 Bug 690825 - Fix nativeCall assert; HandleNonGenericMethodClassMismatch should not assume args.callee() is the native (r=waldo) 2011-10-04 10:48:36 -07:00
Brian Hackett
db1438df2f [INFER] Introduce packed arrays, bug 604045. 2010-11-05 07:37:09 -07:00
Brian Hackett
c02bec2cc1 Merge TM -> JM 2010-11-01 15:37:33 -07:00
Brian Hackett
4370805084 [INFER] Javascript type inference, bug 557407. 2010-10-29 08:05:55 -07:00
Nicholas Nethercote
2fe86b3bec Bug 602703 - TM: create a layer over Nanojit's LIR creation API. r=lw. 2010-10-28 18:28:36 -07:00
Jeff Walden
78f59bd5e3 Bug 607148 - Remove unnamed namespaces from SpiderMonkey code. rs=luke 2010-10-25 16:47:11 -07:00
Jason Orendorff
42faa7bc82 Merge. 2010-10-22 19:11:26 -05:00
Jason Orendorff
85f915b4bd Remove JSObject::title. Bug 606029, r=igor. 2010-10-22 19:04:22 -05:00
Andreas Gal
b8ea033dd3 Remove obsolete wrappedObject extended class hook (604523, r=mrbkap/vlad/dvander). 2010-10-22 15:40:11 -07:00
Igor Bukanov
84db6eec8e 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
cd2a6d6f5f 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
3a0cbbc2ce 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
5472fe8c7f Backed out changeset 438afef93fd5 (bug 604523) due to suspected orange. 2010-10-20 23:19:05 -07:00
Andreas Gal
cbeb449729 Remove obsolete wrappedObject extended class hook (604523, r=mrbkap/vlad/dvander). 2010-10-20 22:41:35 -07:00
Nicholas Nethercote
ec98f19d0e 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
0e486fd5ec Bug 604971 - array.sort compare-function gets incorrect this. r=jwalden 2010-10-18 12:24:23 -07:00
Nicholas Nethercote
27b64244f5 Backed out changeset c961a413660c 2010-10-17 23:24:26 -07:00
Nicholas Nethercote
f60d3e7adc Bug 584279 - TM: improve alias analysis by adding many more access regions. r=bhackett. 2010-10-17 18:42:58 -07:00
Brian Hackett
462c3fd58a Flexible length JSObject, bug 584917. r=brendan,igor 2010-10-13 11:49:22 -07:00
Jeff Walden
5732fb97c1 Bug 514570 - 3 - Don't box |this| for strict mode functions. r=jorendorff 2010-10-12 11:50:03 -07:00
Jeff Walden
b8113e6d52 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
030b5d78ed Bug 612292 - Rename array allocation functions (r=lw) 2010-12-13 16:22:59 -08:00
Jim Blandy
a3734870ff 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
9abd7a88c3 Bug 610038 - apply should not ignore indexed properties on the prototype (r=waldo) 2010-11-09 09:06:57 -08:00
Luke Wagner
26df29e0cf Bug 595884 - JM: make f.apply(x, arguments) fast (r=dvander) 2010-10-21 11:42:28 -07:00
Luke Wagner
6513a85492 Bug 605192 - JM: make f.apply(x, obj) fast, part 1 (r=waldo) 2010-10-20 23:52:55 -07:00
Boris Zbarsky
711a139be2 Bug 606141. ArrayCompPush can deep-bail, so handle that. r=jorendorff 2010-11-04 16:37:44 -04:00
Nicholas Nethercote
5af50084eb Bug 607242 - TM: inline js_Array_dense_setelem_hole. r=gal. 2010-11-03 20:48:51 -07:00
Blake Kaplan
b8de7a6ca6 Bug 596031 - 'this' is wrong in getters and setters when a proxy object is on the prototype chain. r=brendan/jorendorff/gal 2010-10-29 10:42:35 -07:00
Brian Hackett
bc47f4a80a Compile INITPROP/INITELEM, bug 606477. r=jorendorff,dvander 2010-11-18 18:14:22 -08:00
Brian Hackett
3f4895f3e9 Fix fixed slots invariant for slow arrays, bug 610592. r=brendan 2010-11-15 17:21:58 -08:00
Luke Wagner
cac7db3c15 Bug 581893 - build a js::Invoke Gatling gun (r=waldo) 2010-09-28 15:23:43 -07:00
Tom Schuster
cf12f7e90d Bug 601689 - Optimize GetArrayElement for arguments objects (r=lw) 2010-10-06 12:04:31 -07:00
David Mandelin
830613a3fd Bug 595963: notify iterators about property deletion in array_splice, r=gal 2010-10-01 11:12:01 -07:00
Jason Orendorff
d88198021d Finally get rid of /* Added by JSIFY */ comments. r=Waldo. 2010-10-01 18:46:54 -05:00
David Mandelin
ae3dc2aaf1 Backed out changeset 97d2c33271e8 due to crashtest failures 2010-10-01 16:01:49 -07:00
David Mandelin
f15bd4595a Bug 595963: notify iterators about property deletion in array_splice, r=gal 2010-10-01 11:12:01 -07:00
Jason Orendorff
3ad5e4dfa9 Bug 595297 - Portable serialize/deserialize implementation of the HTML5 structured cloning algorithm (jsclone.cpp). r=gal. 2010-09-30 19:47:10 -05:00
Gregor Wagner
9acd06ca0d Bug 558861 - Compartmental GC (r=gal) 2010-09-24 10:54:39 -07:00
Steve Fink
f5254638e0 Bug 583143 - Fix bustage with MOZ_TRACEVIS and other NPOTB code (r=lw) 2010-09-20 12:43:52 -07:00
Jim Blandy
3aca9009a9 Bug 492849 - Implement Object.preventExtensions, Object.isExtensible. a=waldo,jimb, r=brendan 2010-09-21 11:35:29 -07:00
Brian Hackett
0f7b333058 Backed out changeset 09ffb30caa47 2010-09-20 12:05:21 -07:00