Commit Graph

399 Commits

Author SHA1 Message Date
Brian Hackett
63ce41978f Merge TM -> JM 2010-11-18 21:09:24 -08:00
Chris Leary
6b3b3faefd Tracer build fixes. (b=588021, r=dvander) 2010-11-23 13:58:34 -08:00
David Mandelin
05cf294e2a Bug 570385: notify iterators of dense array property deletion in DeleteArrayElement, r=igor 2010-11-19 17:01:26 -08:00
Brian Hackett
e1bfe7689f Merge TM -> JM. 2010-11-12 09:02:43 -08:00
Brian Hackett
88af73abf3 [INFER] Type inference fixes for generators, typed arrays, monitoring, ... bug 557407. 2010-11-09 14:40:10 -08:00
Brian Hackett
0808008aad [INFER] Introduce packed arrays, bug 604045. 2010-11-05 07:37:09 -07:00
Brian Hackett
234413de59 Merge TM -> JM 2010-11-01 15:37:33 -07:00
Brian Hackett
ba1dd67e72 [INFER] Javascript type inference, bug 557407. 2010-10-29 08:05:55 -07:00
Nicholas Nethercote
8f3b74f521 Bug 602703 - TM: create a layer over Nanojit's LIR creation API. r=lw. 2010-10-28 18:28:36 -07:00
Jeff Walden
c125a74d1a Bug 607148 - Remove unnamed namespaces from SpiderMonkey code. rs=luke 2010-10-25 16:47:11 -07:00
Jason Orendorff
c03757ee04 Merge. 2010-10-22 19:11:26 -05:00
Jason Orendorff
3560d10398 Remove JSObject::title. Bug 606029, r=igor. 2010-10-22 19:04:22 -05:00
Andreas Gal
548ea8f111 Remove obsolete wrappedObject extended class hook (604523, r=mrbkap/vlad/dvander). 2010-10-22 15:40:11 -07:00
Igor Bukanov
8a36984640 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
d375b27d41 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
0dfb491835 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
caa77f7763 Backed out changeset 438afef93fd5 (bug 604523) due to suspected orange. 2010-10-20 23:19:05 -07:00
Andreas Gal
1fdc4637f0 Remove obsolete wrappedObject extended class hook (604523, r=mrbkap/vlad/dvander). 2010-10-20 22:41:35 -07:00
Nicholas Nethercote
d051a35a4e 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
374e590960 Bug 604971 - array.sort compare-function gets incorrect this. r=jwalden 2010-10-18 12:24:23 -07:00
Nicholas Nethercote
ef094bbdd5 Backed out changeset c961a413660c 2010-10-17 23:24:26 -07:00
Nicholas Nethercote
48d40ec8ac Bug 584279 - TM: improve alias analysis by adding many more access regions. r=bhackett. 2010-10-17 18:42:58 -07:00
Brian Hackett
b6bbf1729a Flexible length JSObject, bug 584917. r=brendan,igor 2010-10-13 11:49:22 -07:00
Jeff Walden
1b66d40016 Bug 514570 - 3 - Don't box |this| for strict mode functions. r=jorendorff 2010-10-12 11:50:03 -07:00
Jeff Walden
8db4fe218a 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
a54fed5bb9 Bug 612292 - Rename array allocation functions (r=lw) 2010-12-13 16:22:59 -08:00
Jim Blandy
cfd1cd6ef1 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
96aa7f3fd3 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)
d5907caea1 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
e9dc3792c2 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
5095339b06 Bug 606141. ArrayCompPush can deep-bail, so handle that. r=jorendorff 2010-11-04 16:37:44 -04:00
Nicholas Nethercote
f9923fd9aa Bug 607242 - TM: inline js_Array_dense_setelem_hole. r=gal. 2010-11-03 20:48:51 -07:00
Blake Kaplan
8c785c204c 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
1b507ca80b Compile INITPROP/INITELEM, bug 606477. r=jorendorff,dvander 2010-11-18 18:14:22 -08:00
Brian Hackett
3f497e1eae Fix fixed slots invariant for slow arrays, bug 610592. r=brendan 2010-11-15 17:21:58 -08:00
Luke Wagner
e37369b1b8 Bug 581893 - build a js::Invoke Gatling gun (r=waldo) 2010-09-28 15:23:43 -07:00
Tom Schuster
60375ecd5e Bug 601689 - Optimize GetArrayElement for arguments objects (r=lw)
--HG--
extra : rebase_source : 6360a47b95660da477a1f312ab8654a23e4019c1
2010-10-06 12:04:31 -07:00
David Mandelin
7c039a3ea2 Bug 595963: notify iterators about property deletion in array_splice, r=gal
--HG--
extra : rebase_source : de2700e0d3d7bce1453a73155c569d28cfbd4482
2010-10-01 11:12:01 -07:00
Jason Orendorff
faf46059c8 Finally get rid of /* Added by JSIFY */ comments. r=Waldo. 2010-10-01 18:46:54 -05:00
David Mandelin
6b5de12b76 Backed out changeset 97d2c33271e8 due to crashtest failures 2010-10-01 16:01:49 -07:00
David Mandelin
99d33bc190 Bug 595963: notify iterators about property deletion in array_splice, r=gal 2010-10-01 11:12:01 -07:00
Jason Orendorff
8847dd3f68 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
006eef985c Bug 558861 - Compartmental GC (r=gal) 2010-09-24 10:54:39 -07:00
Steve Fink
c04422ffce Bug 583143 - Fix bustage with MOZ_TRACEVIS and other NPOTB code (r=lw) 2010-09-20 12:43:52 -07:00
Jim Blandy
1623508e26 Bug 492849 - Implement Object.preventExtensions, Object.isExtensible. a=waldo,jimb, r=brendan
--HG--
rename : js/src/jsapi-tests/testSeal.cpp => js/src/jsapi-tests/testDeepFreeze.cpp
2010-09-21 11:35:29 -07:00
Brian Hackett
2e0c76a3ce Backed out changeset 09ffb30caa47 2010-09-20 12:05:21 -07:00
Brian Hackett
03fb86d8a2 Make JSObject flexible length, bug 584917. r=brendan 2010-09-20 11:40:32 -07:00
Jim Blandy
1ccd1db5cf Bug 537873, Bug 514574: Have strict mode code report TypeErrors for assignments, deletions. r=brendan
TODO: Fix error messages.
2010-09-15 13:43:55 -07:00
Jim Blandy
f45b8f47a2 Bug 537873, Bug 514574: Use ObjectOps::setProperty for both fast and slow arrays. r=brendan 2010-09-15 13:43:54 -07:00
Nicholas Nethercote
8883e09bc0 Bug 590834 - Clean up number-to-string code. r=jwalden. 2010-09-13 13:08:25 -07:00
Luke Wagner
dc78a5f3d3 Bug 539144 - Make formal args a jit-time const offset from fp; rm argv/argc/thisv/script/callobj (r=brendan,dvander) 2010-08-09 22:43:33 -07:00
Brendan Eich
1f0f283683 Eliminate JSObject::freeslot via monotonic lastProp->freeslot (592556, r=jorendorff,dvander). 2010-09-02 14:50:44 -07:00
Nicholas Nethercote
149c8c848c Bug 580752 - TM: optimize setelem. r=gal. 2010-09-08 18:31:47 -07:00
Luke Wagner
719f726121 Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
David Mandelin
357cecb6ca [JAEGER] Merge from Tracemonkey. 2010-08-31 10:36:08 -07:00
Brendan Eich
c26cf9d7de Bug 592001 - Fix v8-regexp regression in wake of patch for bug 558451 (r=igor, CLOSED TREE). 2010-08-31 07:33:25 -07:00
David Mandelin
6d78866387 [JAEGER] Merge from Tracemonkey. 2010-08-30 15:13:32 -07:00
Brendan Eich
a20f6ceaad Merge JSScope into JSObject and JSScopeProperty (now js::Shape; bug 558451, r=jorendorff). 2010-08-29 11:57:08 -07:00
David Mandelin
dad431e594 Merge from Tracemonkey. 2010-08-19 11:11:36 -07:00
Gregor Wagner
92dbea21cf Bug 572057 - TM: remove weak roots (pigeon hole) r=igor 2010-08-18 12:46:47 -07:00
David Mandelin
6d174826fc [JAEGER] Merge from tracemonkey. Note that we will currently fail one trace test that was recently added. There is a bug in that test that will be fixed posthaste. 2010-08-17 15:32:40 -07:00
David Mandelin
84e2c47b75 [JAEGER] Merge from tracemonkey. 2010-08-11 11:23:29 -07:00
David Mandelin
d9ba7c5740 [JAEGER] Merge from tracemonkey. 2010-08-09 11:36:39 -07:00
Paul Biggar
7d5c3109d3 Split object/function allocation paths to avoid branch (578158, r=brendan). 2010-08-09 09:11:22 -07:00
Jeff Walden
c77cc49c55 Rename JSObject::getArgsLength to JSObject::getArgsInitialLength, to make clearer precisely what value it returns. r=dmandelin
--HG--
extra : rebase_source : c642dd15d4d1cf5f8ac2211dc2ee33845d11bef1
2010-08-04 13:50:01 -07:00
Brian Hackett
b02ce0b886 Fast native constructors, bug 579471. 2010-08-03 12:20:48 -07:00
David Mandelin
26769e3f6e Merge from Tracemonkey. 2010-08-02 15:55:29 -07:00
Robert Sayre
f3b0dac254 Reland: Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances. 2010-08-01 09:58:03 -07:00
Robert Sayre
41a94cbd7d Backout changeset 80382d88b92c. (Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances). The patch is righteous, but MSVC's behavior with a mere 3GB of addressable memory is not. Will reland soon. 2010-07-31 14:01:26 -07:00
Luke Wagner
387ee3b147 Bug 579183 - loosen-up StackSegment invariants - part 5 - CallArgs (r=waldo)
--HG--
extra : rebase_source : 4031cc1def70bef58bfa759a4cc90af06adfc9cd
2010-07-30 10:41:03 -07:00
David Mandelin
54901ed5d6 [JAEGER] Merge from Tracemonkey. 2010-07-29 13:23:33 -07:00
Igor Bukanov
7edec838fa bug 579957 - parent as a field in JSObject. r=lw 2010-07-29 19:11:27 +02:00
Brian Hackett
5d4c91fb49 JM: OOL fast path for setting array holes, bug 580355 2010-07-28 13:07:26 -07:00
Igor Bukanov
9842e59608 Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution. 2010-07-28 14:36:06 +02:00
Igor Bukanov
ce4483243e bug 579957 - parent as a field in JSObject (relanding after wixing bug 583404). r=lw 2010-07-31 11:54:01 +02:00
Andreas Gal
e5d2b97587 Array.prototype lost its length property (583429, r=brendan). 2010-07-30 18:24:03 -07:00
Robert Sayre
78b3fccbc3 Backed out changeset d8bbb2ef3038. (Igor Bukanov – bug 579957 - parent as a field in JSObject. r=lw) 2010-07-29 18:11:41 -07:00
Robert Sayre
9bea7fb2be Backed out changeset b404ad209cb9. (Bug 587257 - Make Array.prototype.join faster. r=lw) 2010-08-23 19:20:46 -04:00
Robert Sayre
e285d6151b Bug 587257 - Make Array.prototype.join faster. r=lw 2010-08-23 16:28:36 -04:00
Igor Bukanov
7ae0ecc9d3 bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Igor Bukanov
781e5c46d7 bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Andreas Gal
f017d7b5c6 Don't read past capacity in js_IsDensePrimitiveArray (582451, r=brendan). 2010-07-27 22:43:49 -07:00
Nicholas Nethercote
ba3f831b4d Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 3, TM-specific part). r=gal. 2010-07-27 22:33:42 -07:00
Andreas Gal
f8b5727e38 Bug 582081 - Dense array patches regressed empty Array creation on Dromaeo. r=jwalden 2010-07-27 16:42:58 -07:00
Brendan Eich
365841a021 Arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-23 14:41:56 -07:00
Jeff Walden
6f00d9cfe8 Bug 562448 - Function.prototype.apply should accept any arraylike arguments. r=brendan
--HG--
extra : rebase_source : 1c6fc72b2b6a30d18e15c30ff84fa529e70709b0
2010-07-16 14:53:37 -05:00
Igor Bukanov
d024da7d92 bug 579100 - various GC cleanups. r=anygregor 2010-07-26 20:44:04 +02:00
Nicholas Nethercote
e4d84a04f9 Backout TM-specific patches for bug 552812 due to assertion failures on Win2003. 2010-07-26 00:03:02 -07:00
Nicholas Nethercote
b2a60fa1e2 Bug 552812 - nanojit: factor out AccSet differences into TM and TR (TM-specific part). r=gal. 2010-07-25 21:23:02 -07:00
Andreas Gal
283b5621fc Always allocate dslots for dense arrays (580877, r=njn). 2010-07-23 15:29:02 -07:00
Brendan Eich
8fdb12a38b Back out patch for bug 577648, need to fix a leak. 2010-07-23 14:21:50 -07:00
Brendan Eich
401ce49c59 arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-10 11:48:00 -07:00
Andreas Gal
3378383935 Remove hole count from dense arrays (580846, r=njn). 2010-07-22 18:45:21 -07:00
Igor Bukanov
3bb859d8fb bug 576596 - removal of JSObjectOps::(call|construct|hasInstance). r=jorendorff
--HG--
extra : rebase_source : 8fd09ab6bfb4daece7a27b9a46097ae74bdc055c
2010-07-07 09:53:50 +02:00
Luke Wagner
c2175829ad Bug 579598 - Help GCC out in array_splice (r=waldo) 2010-07-20 20:27:15 -07:00
Jeff Walden
a09b17a542 Bug 562446 - ES5: Array.prototype.toString and Array.prototype.toLocaleString should be generic. r=igor
--HG--
extra : rebase_source : 003f392af828817cba1d1153c2ed5d4e5402f5c3
2010-07-15 12:33:33 -05:00
Jeff Walden
54561f53dd Er, really fix DEBUG_jwalden code. r=tpyo
--HG--
extra : rebase_source : 957de112c57250d4244883eada9561cc76b49006
2010-07-16 14:10:47 -05:00
Jeff Walden
3249518de8 Fix DEBUG_jwalden code for fatvals. r+sr+ui-r+a=mconnor per firebot2 (an evil doppelgänger?) 2010-07-15 14:28:56 -05:00
Luke Wagner
7371ad00ed Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Igor Bukanov
21a98fb81f bug 572494 - removal of JSObjectOps::defaultValue, r=jorendorff 2010-07-07 09:53:47 +02:00