Commit Graph

107 Commits

Author SHA1 Message Date
Luke Wagner
b6863d4b34 Bug 501834 - Regression on js1_5/Regress/regress-312588.js crash [@ JS_HashTableRawLookup]. r=jwalden 2009-07-06 13:02:43 -07:00
Luke Wagner
f5902c7085 Bug 200505 - Optimization of jsref array_join_sub() function. r=waldo 2009-06-30 20:19:42 -04:00
Robert Sayre
5c25a22086 Backed out changeset b2256abf53c0 2009-06-30 12:14:09 -07:00
Luke Wagner
2aa6efefe0 Bug 200505 - Optimization of jsref array_join_sub() function. r=waldo 2009-06-30 11:29:43 -07:00
Benjamin Smedberg
9055de765a Bug 498398 - fast natives such as array_sort and many others must not be JS_REQUIRES_STACK, r=jorendorff 2009-06-25 15:12:19 -04:00
Benjamin Smedberg
23286a7234 Bug 491988 - Annotation fixes required for analyzing JS_REQUIRES_STACK for function pointers, r=jorendorff 2009-06-25 15:12:19 -04:00
Robert Sayre
efa712eb5d Merge tracemonkey to mozilla-central. 2009-06-19 09:22:50 -04:00
Jason Orendorff
e37a73d431 Bug 497618 - Change JSString macros to methods. r=Waldo. 2009-06-10 20:29:44 -05:00
Jeff Walden
a79e26602b Fix bogus warnings from gcc thinking that js_GetLengthProperty doesn't always write its outparam by removing code from it and simplifying what remains -- WIN! No bug, r=gal 2009-05-29 14:57:32 -07:00
Igor Bukanov
46ef96bb8b bug 491126 - sharing object map for non-native objects. r=brendan 2009-05-14 12:35:23 +02:00
Jeff Walden
d1e563b390 Likely gmail bustage fix 2009-05-11 15:41:00 -07:00
Jeff Walden
a8edad7be0 Bug 486326 - Specialize array methods which modify large numbers of array elements to work efficiently on dense arrays, avoiding highly generalized get/set/delete methods and the floating-point-to-integer conversions needed solely to handle large array indexes but which are rarely necessary in practice. r=shaver 2009-05-11 14:57:18 -07:00
44581945d7 kill builtins.tbl (479888, r=jorendorff). 2009-05-05 17:36:26 -07:00
jorendorff
d0cf82fdba Record all calls to native functions (487134, r=gal, brendan). 2009-05-05 14:26:06 -07:00
Andreas Gal
488cb49aff Compilation fix for 489899. 2009-04-24 16:35:42 -07:00
Andreas Gal
12220605f6 Stay on trace when reading holes from dense arrays (489899, r=brendan). 2009-04-24 16:28:21 -07:00
Jeff Walden
87815d315f Bug 488989 - Don't go slow if we don't have to. r=jorendorff 2009-04-23 13:34:18 -07:00
Jeff Walden
8c9a261c41 Kick tinderboxen out of a Linux orange that looks bogus 2009-04-18 22:09:37 -07:00
Andreas Gal
b2fefd9393 Merge. 2009-04-17 12:44:37 -07:00
Andreas Gal
3d8111cfa9 Backed out changeset 324bb9dc8372 (bug 487204 is implicated in top site failures). 2009-04-17 12:41:00 -07:00
Andreas Gal
4b29f0e1c1 Backed out changeset 5bd116148175 (attempting to re-land bug 487204). 2009-04-16 17:56:18 -07:00
Andreas Gal
0cc8abe941 Backed out changeset d1a4ee3d0c59 (bug 487204, due to possible leak). 2009-04-16 12:19:24 -07:00
Igor Bukanov
cae68afd5c bug 487930 - removal of JSSLOT_ARRAY_LOOKUP_HOLDER. r=mrbkap 2009-04-17 11:37:59 +02:00
Igor Bukanov
4e4b2fbfd9 bug 487204 - avoiding extra locks for js_Native(Get|Set). r=brendan 2009-04-16 02:36:14 +02:00
Andreas Gal
6ab0f231f8 Backed out changeset d1a4ee3d0c59 due to build fail, test fail, and perf regressions. 2009-04-15 14:20:52 -07:00
Igor Bukanov
2175ed175c bug 487204 - avoiding extra locks for js_Native(Get|Set). r=brendan 2009-04-15 21:13:27 +02:00
Jason Orendorff
3cfec69a50 Bug 487676 - Nesting deep-aborting trace calls don't work. r=gal. 2009-04-09 18:07:00 -05:00
Brendan Eich
2d2a5dfe04 upvar2, aka the big one take 2 (452598, r=mrbkap). 2009-04-05 21:17:22 -07:00
Andreas Gal
00a608f948 Backed out changeset 972c44aa9d1f (bug 452598). 2009-04-04 10:14:52 -07:00
Brendan Eich
4af509178e upvar2, aka the big one (452598, r=mrbkap). 2009-04-04 10:05:49 +01:00
Igor Bukanov
debbdf9331 bug 486139 - removal of JSProperty struct definition. r=mrbkap 2009-04-03 09:53:17 +02:00
Igor Bukanov
6b8598cf6e bug 484861 - removal of unsed fields from JSObjectOps. r=mrbkap 2009-04-01 14:32:51 +02:00
Igor Bukanov
0d4da913d9 bug 486106 - restoring JS*Lookup API compatibility with fast arrays. r=shaver 2009-03-31 21:42:31 +02:00
Boris Zbarsky
34257ee02a Bug 495499. Speed up PutImageData for cases when the array contains doubles. r=brendan,vlad,jorendorff 2009-06-11 10:35:41 -04:00
Robert Sayre
8c8140d2ae Merge tracemonkey to mozilla-central. 2009-03-24 13:49:05 -04:00
Jeff Walden
fa9d35d2e4 Bug 484750 - Assertion failure: newlen == 0 || obj->dslots[newlen - 1] != JSVAL_HOLE, at ../jsarray.cpp. Modify an assertion to properly handle intentional fenceposting behavior where we copy 0 elements to the end of an array -- can't assert that the end of the array isn't a hole in this case because we're intentionally not changing the array from what it was before -- demonstrated by [,].splice(1). r=me as obvious from debugging the testcase 2009-03-23 00:26:52 -07:00
Jim Blandy
daab0107e2 Bug 479258: Include "jsstdint.h" for <stdint.h> type use within SpiderMonkey. r=brendan 2009-03-18 11:38:16 -07:00
Igor Bukanov
868d2be954 bug 369696 - improving object graph serialization. r=brendan 2009-03-17 09:51:38 +01:00
Brendan Eich
12590d2dce Followup patch for bug 481251. 2009-03-04 00:12:35 -08:00
Andreas Gal
870131b280 Assert prototype shapes when reading a hole from a dense array instead of calling a builtin (481328, r=brendan). 2009-03-03 21:58:56 -08:00
Andreas Gal
fa2a1c5a3a Fixed MacOSX breakage. 2009-03-03 18:27:49 -08:00
Andreas Gal
8dd119a9f2 Browser spuriously sets runtime->anyArrayPrototypeHasElement and makes perf bad (481251, r=mrbkap). 2009-03-03 18:04:15 -08:00
Andreas Gal
d5b270c289 js_Array_dense_setelem can call arbitrary JS code (479487, r=jorendorff). 2009-02-26 11:59:07 -08:00
Igor Bukanov
6c264808b3 bug 477706 - fixing most VC 2005 warnings. r=gal,mrbkap 2009-02-26 09:49:39 +01:00
Andreas Gal
a3f5fc62ea Make arrays with less than 256 entries always dense (479386, r=brendan). 2009-02-25 14:48:07 -08:00
Jason Orendorff
c02372a2e6 Bug 477279 - Tune dense array growth. r=brendan. 2009-02-23 17:31:02 -06:00
Robert Sayre
3d5b72f17b Merge m-c to tracemonkey. 2009-02-23 12:44:23 -05:00
Blake Kaplan
2a8a8d8292 Fix bustage from checkin for bug Bug 479566 2009-02-21 14:25:43 -08:00
Jason Orendorff
27cd859ed3 Bug 479566 - Rename array "dense length" to capacity. r=shaver. 2009-02-21 15:33:50 -06:00
Jim Blandy
918bbe5eae Bug 391488: Eliminate PTRDIFF macro; delete jssttddef.h. r=jimb
Delete jsstddef.h, since its only remaining purpose is to make certain
Win16-specific definitions; we don't support Win16 any more.  In
particular, we can just subtract pointers now, so the PTRDIFF macro is
unnecessary noise.

Most places get stddef.h via jstypes.h or some other header, so we can
just delete #inclusions of jstddef.h.  The exception is jskwgen.h, so
there we explicitly include <stddef.h> instead.
2009-02-18 09:14:51 -08:00