Commit Graph

225 Commits

Author SHA1 Message Date
Igor Bukanov
06ddfe2226 bug 566836 - eliminating JSObjectOps::dropProperty. r=gal
--HG--
extra : rebase_source : cdffca0a863d8a3dddbc77335fc3cdac2eff9f4b
2010-06-05 23:24:54 +02:00
Jeff Walden
3661a5c498 Bug 548671 - Stop using shared-permanent properties "inherited" from the prototype to represent (function(){}).length and [].length. r=jorendorff
--HG--
extra : rebase_source : c5d48e4fe489f9e350798b49bed70f763e3abf37
2010-06-02 23:44:24 -07:00
Andreas Gal
c3f36f58a1 Suppress deleted properties during iteration (569735, r=brendan). 2010-06-03 21:41:01 -07:00
Jeff Walden
aa9aa411ea Bug 569471 - Rename js_GetWrappedObject to JSObject::wrappedObject. r=jorendorff 2010-06-01 15:59:02 -07:00
Jason Orendorff
37f324c09c Back out changeset 96dbe8a784f1 (bug 569735) due to failing tests. 2010-06-02 23:48:22 -07:00
Andreas Gal
ae899f25c0 Suppress deleted properties during iteration (569735, r=brendan). 2010-06-02 20:11:56 -07:00
Robert Sayre
2a3fb0fb81 Merge mozilla-central to tracemonkey. 2010-05-24 09:05:39 -07:00
Michael Kohler
8550fb091a Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Luke Wagner
dcaba6f07a Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo) 2010-03-03 17:52:26 -08:00
Luke Wagner
7c4734699c Backed out changeset 23efaeb8652b 2010-05-13 02:21:27 -07:00
Luke Wagner
aa5db3e83b Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo) 2010-03-03 17:52:26 -08:00
Andreas Gal
811ac4cf75 fast object iteration (558754, r=brendan, CLOSED TREE). 2010-05-07 17:52:52 -07:00
Nicholas Nethercote
08d3d1fa5e Bug 563210 - "Assertion failure: isDenseArrayMinLenCapOk()," with gc, gczeal, Array, defineGetter. r=brendan. 2010-05-04 17:29:42 -07:00
Robert Sayre
8ec1a8b93a Merge. 2010-05-03 12:32:11 -04:00
Robert Sayre
ab9d581867 Update dense array cloning with new factoring of getDenseArrayCapacity 2010-05-03 11:19:45 -04:00
Robert Sayre
66e25b27c2 Merge mozilla-central to tracemonkey. 2010-05-03 11:03:37 -04:00
Nicholas Nethercote
ae0acc8e1f Bug 560774 - encapsulate array-related dslots accesses. r=brendan. 2010-04-26 18:33:36 -07:00
Andreas Gal
7cdd5542ef remove useless date and array trace natives (563055, r=dvander). 2010-04-30 14:59:28 -07:00
Nicholas Nethercote
a27cd4fbaf Bug 562571 - TM: don't have two bounds checks for array getelem. r=brendan. 2010-04-29 20:22:33 -07:00
Nicholas Nethercote
2678ca9628 Bug 562251 - JSSLOT_ARRAY_COUNT isn't used for slow arrays. r=brendan. 2010-04-28 18:35:22 -07:00
Nicholas Nethercote
ff94c40f06 Bug 556165 - dead code in array_shift(). r=jwalden. 2010-04-11 22:38:55 -07:00
Nicholas Nethercote
7d6b2dbd58 Bug 557713 - encapsulate JSSLOT_ARGS_* within JSObject. r=brendan. 2010-04-11 16:45:20 -07:00
Andreas Gal
3799de9f75 Inline the object allocation path (558003, r=sayrer). 2010-04-10 16:16:35 -07:00
Luke Wagner
515c38eb66 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
41c5fe3a22 Bug 552574 - de-mystify js_ValueToNumber API (r=igor) 2010-04-07 13:18:50 -07:00
Nicholas Nethercote
629b0fc496 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
e1d31d5039 Bug 556187 - encapsulate JSSLOT_ARRAY_* within JSObject. r=brendan. 2010-04-05 18:32:16 -07:00
Robert Sayre
c53682fd7e Bug 554850: silence JSBool -> bool conversion warnings in msvc. r=waldo 2010-04-01 16:54:57 -04:00
Nicholas Nethercote
e2e917ef22 Bug 556353 - Remove OBJ_IS_NATIVE, HAS_FUNCTION_CLASS. r=brendan. 2010-03-31 22:13:51 -07:00
Jeff Walden
adf0fee09b 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
15973b4a9c 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
a1a894fc1c Bug 555631 - Convert STOBJ_* macros to inline functions. r=gal. 2010-03-30 14:42:48 -07:00
Brendan Eich
c0b3caa942 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
6eaa7e5cd1 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
cc578ac362 Merge. 2010-03-26 21:53:40 -07:00
Jeff Walden
1066acafbb 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
c78f4378e4 Bug 551276 - a more type-safe way to zero memory (r=Waldo)
--HG--
extra : rebase_source : fc5564c34cde6490a1d3b48a16a451f7e50c052a
2010-03-10 15:34:12 -08:00
Jeff Walden
49f22f1f82 More bustage fix, sigh 2010-03-09 15:38:41 -08:00
Jeff Walden
430bcd70ee Bustage fix, r=redness 2010-03-09 15:07:38 -08:00
Jeff Walden
4509038fa5 Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
Mike Moening
9cab0c75a6 bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
Nicholas Nethercote
ecf1dcc241 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
9b7648e7fb Introduce ObjectOps for typeOf and make trace a mandatory ObjectOp (547314, r=brendan). 2010-02-22 16:30:22 -08:00
Jason Orendorff
9b55a53b29 Bug 547274 - js_InitArrayClass is not thread-safe. r=brendan.
--HG--
extra : rebase_source : 4b9ca0af846d7b77601ebbbf642941ffd136c9c8
2010-02-19 13:05:00 -06:00
Gregor Wagner
013748abe4 BUG 545303: TM: non API function for JS_CallTracer r=igor 2010-02-18 13:16:02 -08:00
Luke Wagner
edf0e8091b Try 784ceadd60e5 again with more #pragma optimize("", off) 2010-02-06 10:14:05 -08:00
Luke Wagner
37ef23190f Backout 784ceadd60e5 until PGO stops crashing 2010-02-08 10:28:07 -08:00
Luke Wagner
0678d00c44 Bug 515812 - Double hashing template (r=jorendorff) 2010-02-06 10:14:05 -08:00
Igor Bukanov
42951409df bug 540805 - using reference counting only for empty scopes. r=jorendorff 2010-01-27 09:50:17 +03:00
Luke Wagner
a9ec05dc01 Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff) 2010-01-22 14:49:18 -08:00