Commit Graph

2380 Commits

Author SHA1 Message Date
Andreas Gal
bedc33024f Backed out changeset be63a51a0a3b. Breaks tofte if run from ./time.sh. 2008-08-20 14:57:49 -07:00
Brendan Eich
6939ca853c Don't disable property caching in eval (this requires GC'ing eval scripts). Do tolerate active Call object at head of scope chain in record_JSOP_CALLNAME, and go straight to the stack slots. 2008-08-20 14:04:37 -07:00
6d0005a592 merge from mozilla-central 2008-08-20 08:17:17 -07:00
Brendan Eich
d91ee7d532 Object.prototype.{hasOwnProperty,propertyIsEnumerable}. 2008-08-11 17:47:05 -07:00
Brendan Eich
4c0bbe7862 Back out extra gcflag param change (859b9a23adbf), I set bad precedent and will back out previous such shortly. Want cx->gcflags instead. 2008-08-11 10:33:23 -07:00
2cef6e066a extend js_NewObjectWithGivenProto to permit specifying additional new-thing flags (such as GCX_DONT_BLOCK) 2008-08-10 22:56:10 -04:00
Brendan Eich
e6aad74aae Merge from mozilla-central. 2008-08-08 18:58:04 -07:00
Igor Bukanov
11505a9ec5 bug 412296 - removal of minarg support for fast native 2008-08-08 18:02:50 +02:00
Blake Kaplan
94f344686d Bug 449152 - js_CheckAccess should init out params on failure, r=brendan 2008-08-05 14:49:50 -07:00
Igor Bukanov
3dddd2070e bug 417131 - caching enumerators to speedup for-in loops. r=brendan 2008-08-19 13:00:14 -04:00
Blake Kaplan
b213e80aa4 Implement ES3.1's Object.getPrototypeOf. bug 444787, r=brendan 2008-08-04 16:43:12 -07:00
Brendan Eich
342e1a24b5 - Export JSSLOT_ITER_* from jsiter.cpp to jsiter.h, for jstracer.cpp to use.
- Fix OBJ_GET_SLOT to be STOBJ_GET_SLOT in jsiter.cpp, no thread safety here (bug on file).
- Move JSNativeEnumerator from jsobj.cpp to jsobj.h for jstracer.cpp as well.
- Rename JOF_2BYTE JOF_UINT8 for consistency, and actually decompile it.
- Trace JSOP_FORVAR (can't do anything in JSOP_ITER, it comes before the loop).
- Shortened some guardMyLongSummerVacationWithinBounds names ;-).
- Removed/refactored to avoid dslots_ins obligation on all callers.
2008-07-30 16:32:33 -07:00
Johnny Stenback
21836e161e Landing fix for bug 442708. JS_GC with GC_SET_SLOT_REQUEST doesn't loop until all threads are satisfied. Patch by brendan@mozilla.org, r=bent.mozilla@gmail.com 2008-07-21 16:58:24 -07:00
Igor Bukanov
e9875f6677 bug 441686 - eliminating JSStackFrame.(nvars|vars). r=brendan 2008-07-20 22:13:17 +02:00
Igor Bukanov
65884fee82 [Bug 446229] Fixing GCC conversion warnings within SpiderMonkey. r=brendan 2008-07-20 14:53:21 +02:00
Igor Bukanov
c933806bee Bug 443746 – Optimizing the enumeration state allocation. r=brendan 2008-07-06 21:02:44 +02:00
Brendan Eich
f77560b092 Clean up for-in ops and naming nit (443039, r=igor). 2008-07-01 18:59:18 -07:00
Brian Crowder
c829565d63 Bug 442333 - remove eval's optional second argument, r=brendan 2008-07-01 16:44:44 -07:00
f412ce8864 Bug 435345 - Cannot accurately watch the 'length' property of arrays, r=shaver 2008-07-01 12:47:09 -07:00
Igor Bukanov
52f8037d64 [Bug 411575] SM: faster js_PutCallObject, r=brendan 2008-06-30 19:17:33 +02:00
Blake Kaplan
84e635493b Do not attempt to lock a non-native object. bug 436741, r=brendan 2008-06-25 12:23:35 +02:00
Igor Bukanov
1aa5c32a96 [Bug 432881] SM: JSVAL_VOID as a pseudo-boolean. r=brendan 2008-06-25 11:43:02 +02:00
Igor Bukanov
b998d7da52 [Bug 433382] More efficient interpreter switch when computed goto is not available. r=brendan 2008-06-20 11:55:49 +02:00
Igor Bukanov
ab82078dd6 Backed out changeset 97977f224aff due to build breakage 2008-06-20 11:46:36 +02:00
Igor Bukanov
8b4ddb3ea7 [Bug 433382] More efficient interpreter switch when computed goto
is not available. r=brendan
2008-06-20 10:06:45 +02:00
Igor Bukanov
1025737b61 Backed out changeset 21527193c49b: the patch has used CSRCS, not CPPSRCS. 2008-06-20 09:45:29 +02:00
Igor Bukanov
46a8d347ba [Bug 433382] More efficient interpreter switch when computed goto is not available. r=brendan 2008-06-20 09:36:56 +02:00
Benjamin Smedberg
86da87a6f2 Return to building spidermonkey as C++, because we believe we found the cause of the perf regression elsewhere (non-code). 2008-05-27 16:58:12 -04:00
Benjamin Smedberg
e310131a6f Back out revision bd9c9cbf9ec8 (build spidermonkey as C++) for perftesting and profit. 2008-05-27 12:19:17 -04:00
1650653ff4 Bug 387935, Always build JS as C++, r=benjamin 2007-07-16 11:40:49 -07:00