Commit Graph

516 Commits

Author SHA1 Message Date
Robert Sayre
69e17cec24 Merge mozilla-central to tracemonkey. 2010-05-03 11:03:37 -04:00
Nicholas Nethercote
d4b36325f1 Bug 560774 - encapsulate array-related dslots accesses. r=brendan. 2010-04-26 18:33:36 -07:00
Andreas Gal
3def8dd91d remove useless date and array trace natives (563055, r=dvander). 2010-04-30 14:59:28 -07:00
Nicholas Nethercote
995d82b4c4 Bug 562571 - TM: don't have two bounds checks for array getelem. r=brendan. 2010-04-29 20:22:33 -07:00
Nicholas Nethercote
d3a28b113a Bug 562251 - JSSLOT_ARRAY_COUNT isn't used for slow arrays. r=brendan. 2010-04-28 18:35:22 -07:00
Nicholas Nethercote
bdb63aea5c Bug 556165 - dead code in array_shift(). r=jwalden. 2010-04-11 22:38:55 -07:00
Nicholas Nethercote
0e214fc2cc Bug 557713 - encapsulate JSSLOT_ARGS_* within JSObject. r=brendan. 2010-04-11 16:45:20 -07:00
Andreas Gal
0b5921e50b Inline the object allocation path (558003, r=sayrer). 2010-04-10 16:16:35 -07:00
Luke Wagner
d6c0d01461 Bug 558144 - un-macroize OBJ_SCOPE, OBJ_SHAPE, LOCKED_OBJ_SET_SLOT, LOCKED_OBJ_GET_SLOT (r=Waldo) 2010-04-08 11:22:04 -07:00
Luke Wagner
c412454bd2 Bug 552574 - de-mystify js_ValueToNumber API (r=igor) 2010-04-07 13:18:50 -07:00
Nicholas Nethercote
bc4f363729 Bug 413730 - Replace all OBJ_GET_CLASS() macro calls with JSObject::getClass() calls. r=gal. 2010-04-07 16:09:49 -07:00
Nicholas Nethercote
25fcbe355b Bug 556187 - encapsulate JSSLOT_ARRAY_* within JSObject. r=brendan. 2010-04-05 18:32:16 -07:00
Robert Sayre
36fd5c6b59 Bug 554850: silence JSBool -> bool conversion warnings in msvc. r=waldo 2010-04-01 16:54:57 -04:00
Nicholas Nethercote
e347e66c71 Bug 556353 - Remove OBJ_IS_NATIVE, HAS_FUNCTION_CLASS. r=brendan. 2010-03-31 22:13:51 -07:00
Jeff Walden
2a38d4d0e1 Bug 538690 - js::AutoValueVector for auto-managed rooting and storage of an indefinite number of jsvals. r=igor 2010-03-01 14:46:15 -08:00
Nicholas Nethercote
77c22e782a Don't pointlessly set fslots[JSSLOT_ARRAY_COUNT] to a integer jsval when converting a dense array to a slow array. no bug, r=brendan via IRC. 2010-03-30 20:19:41 -07:00
Nicholas Nethercote
a10895039d Bug 555631 - Convert STOBJ_* macros to inline functions. r=gal. 2010-03-30 14:42:48 -07:00
Brendan Eich
8de59725e9 Fix arguments objects to share a runtime-wide empty scope, instead of each getting a differently shaped own scope at birth (554626, r=igor). 2010-03-30 00:44:28 -07:00
Jeff Walden
bfeff8c4ad Readd jsarray.cpp changes for bug 548702. array_sort in particular is a rat's-nest of complexity, so this file's changes are being pushed in isolation from all others. In the interest of getting the tree as pristine for morning, I'm pushing this now and letting it cycle while I sleep -- if it turns anything pretty colors, please back out. Otherwise, look for more in the morning... 2010-03-29 00:02:13 -07:00
Jeff Walden
68542dc098 Merge. 2010-03-26 21:53:40 -07:00
Jeff Walden
2e74bf795c Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\ 2010-03-26 18:01:54 -07:00
Luke Wagner
01c0adf099 Bug 551276 - a more type-safe way to zero memory (r=Waldo) 2010-03-10 15:34:12 -08:00
Jeff Walden
f77a9751eb More bustage fix, sigh 2010-03-09 15:38:41 -08:00
Jeff Walden
a401559429 Bustage fix, r=redness 2010-03-09 15:07:38 -08:00
Jeff Walden
e1d797671d Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor 2010-01-11 11:52:21 -06:00
Mike Moening
46a40846b5 bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
Nicholas Nethercote
5dd748ef5b Bug 545274 - nanojit: start adding alias info to loads/stores/calls (TM-specific part). r=jseward. 2010-03-02 13:47:17 +11:00
Andreas Gal
8428da3b75 Introduce ObjectOps for typeOf and make trace a mandatory ObjectOp (547314, r=brendan). 2010-02-22 16:30:22 -08:00
Jason Orendorff
c121818ad8 Bug 547274 - js_InitArrayClass is not thread-safe. r=brendan. 2010-02-19 13:05:00 -06:00
Gregor Wagner
8f72b0402b BUG 545303: TM: non API function for JS_CallTracer r=igor 2010-02-18 13:16:02 -08:00
Luke Wagner
bb329b609d Try 784ceadd60e5 again with more #pragma optimize("", off) 2010-02-06 10:14:05 -08:00
Luke Wagner
849d5b41aa Backout 784ceadd60e5 until PGO stops crashing 2010-02-08 10:28:07 -08:00
Luke Wagner
995413df5c Bug 515812 - Double hashing template (r=jorendorff) 2010-02-06 10:14:05 -08:00
Igor Bukanov
a08ea4a83f bug 540805 - using reference counting only for empty scopes. r=jorendorff 2010-01-27 09:50:17 +03:00
Luke Wagner
7660fd493d Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff) 2010-01-22 14:49:18 -08:00
Nicholas Nethercote
7526960308 Avoid bogus uninit variable warning. r=gcc. 2010-01-21 13:12:02 +11:00
Brendan Eich
12bc76d2c5 Bug 537204 - No more BOGUS_CX bogosities (r=jwalden). 2009-12-30 13:49:26 -08:00
Brendan Eich
d4c5ccb2b1 Eliminate JSClass::reserveSlots and streamline new-object paths (535416, r=gal). 2010-06-18 17:43:02 -07:00
Nicholas Nethercote
975c77d7c3 Bug 572945 - TM: dense arrays specify the wrong number of reserved slots (2
vs 3).  r=gal.
2010-06-22 00:18:51 -07:00
Andreas Gal
fd2c95c0ba Slow arrays don't need custom objectops (571810, r=mrbkap). 2010-06-21 12:19:36 -07:00
David Mandelin
a8dbeb0f3c Bug 571595: make sure dense_grow always gets inlined, r=nnethercote 2010-06-21 11:23:39 -07:00
Igor Bukanov
637e2f8470 bug 572411 - removal of JSObjectOps::checkAccess. r=mrbkap 2010-06-17 14:32:26 +02:00
Blake Kaplan
3e542e4bad Bug 566651 - Actually store the result in vp. r=jorendorff 2010-06-08 09:12:52 -07:00
Igor Bukanov
4a6f9652d9 bug 526449 - marking the slow array as HAS_PRIVATE for simpler handling of JSSLOT_ARRAY_LENGTH. r=brendan 2009-12-13 22:06:04 +03:00
Robert Sayre
a18360d975 Merge 2009-12-01 15:51:22 -05:00
Robert Sayre
de9bc63f55 Relanding: Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). Backed out changeset ee7bfc1923ad 2009-12-01 15:49:15 -05:00
Robert Sayre
6b5e0c1e3d Backed out changeset c03ebf340688. Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). 2009-12-01 09:56:16 -05:00
Robert Sayre
4042207aec Backout bug 473228 and its follow-up, temporarily, to attempt a clean merge of other stuff. 2009-12-01 09:57:20 -05:00
Brendan Eich
bb8db4ed67 Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). 2009-11-20 16:14:42 -08:00
Andreas Gal
7b14994f5f Properly reject new arrays with negative length (530617, r=jwalden). 2009-11-23 16:09:02 -08:00