Commit Graph

205 Commits

Author SHA1 Message Date
Nicholas Nethercote
ae0acc8e1f Bug 560774 - encapsulate array-related dslots accesses. r=brendan. 2010-04-26 18:33:36 -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
Nicholas Nethercote
48e1a3896e Avoid bogus uninit variable warning. r=gcc. 2010-01-21 13:12:02 +11:00
Brendan Eich
c724b6f6c1 Bug 537204 - No more BOGUS_CX bogosities (r=jwalden). 2009-12-30 13:49:26 -08:00
Igor Bukanov
75e20c38de 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
151c899bb9 Merge 2009-12-01 15:51:22 -05:00
Robert Sayre
1c1ae69c8b 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
bcf74f32e2 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
efc9136a43 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
ee624984d8 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
f71e221781 Properly reject new arrays with negative length (530617, r=jwalden). 2009-11-23 16:09:02 -08:00
Jason Orendorff
4d092db314 Bug 505523 - Property cache can skip JSClass::resolve or JSClass::addProperty hooks. r=graydon, r=brendan.
--HG--
extra : rebase_source : a77b0e81203010aabe07b92b639762dce83200c0
2009-11-18 14:29:58 -06:00
David Mandelin
3a9f926349 Bug 519363 debugging followup: strip diagnostic instrumentation, r=lw 2009-11-09 16:57:47 -08:00
Robert Sayre
67efa6c0c3 Merge mozilla-central to tracemonkey. 2009-10-29 08:48:15 -07:00
Igor Bukanov
26a8e5a8ea bug 524346 - using jsval, not jsdouble *, for nan and +-oo. r=brendan 2009-10-28 14:57:31 +03:00
Igor Bukanov
4532c5ebba Backed out changeset 14c76164f4c2 - patch for bug 524346 caused test fails 2009-10-27 19:21:47 +03:00
Igor Bukanov
9b985d2bb0 bug 524346 - using jsval, not jsdouble *, for nan and +-oo. r=brendan 2009-10-27 13:26:57 +03:00
Jason Orendorff
f218f71497 Bug 523670 - Add assertion to detect proto-less dense arrays. r=brendan. 2009-10-23 14:40:36 -05:00
Igor Bukanov
9abb566b74 bug 505315 - constructing GC free lists during finalization. r=brendan 2009-10-16 10:10:54 +04:00
Igor Bukanov
efcd517140 Backed out changeset 487b81c753c0 - landing of bug 505315 caused talos crashes across platforms. 2009-10-15 13:53:40 +04:00
Igor Bukanov
19344618cf bug 505315 - constructing GC free lists during finalization. r=brendan 2009-10-15 11:41:08 +04:00