Igor Bukanov
6da0ea9b5e
bug 462734 - fixing JSOP_BINDNAME caching issues. r=brendan
2009-04-11 10:11:06 +02:00
Igor Bukanov
d738892163
Backed out changeset 595ebe7b82fa - it had wrong patch
2009-04-11 10:07:42 +02:00
Igor Bukanov
de22fe3e47
bug 462734 - fixing JSOP_BINDNAME caching issues. r=brendan
2009-04-11 10:04:24 +02:00
Brendan Eich
962b187fe5
upvar2, aka the big one take 2 (452598, r=mrbkap).
2009-04-05 21:17:22 -07:00
Andreas Gal
706120c0fb
Backed out changeset 972c44aa9d1f (bug 452598).
2009-04-04 10:14:52 -07:00
Brendan Eich
5f4d9ff474
upvar2, aka the big one (452598, r=mrbkap).
2009-04-04 10:05:49 +01:00
Igor Bukanov
f48629a9d6
bug 486139 - removal of JSProperty struct definition. r=mrbkap
2009-04-03 09:53:17 +02:00
Igor Bukanov
4df05a423c
bug 484861 - removal of unsed fields from JSObjectOps. r=mrbkap
2009-04-01 14:32:51 +02:00
Jason Orendorff
22f1bdf5d6
Bug 483473 - Make JSObjectOps private. r=brendan.
...
--HG--
extra : rebase_source : 3240cb1f5c047dc92f8d1b525963bcb27e0a3521
2009-03-31 09:02:20 -05:00
Igor Bukanov
20e6be9c80
bug 362910 - js_GetMethod cleanup. r=brendan
2009-03-14 17:41:47 +01:00
Jason Orendorff
dbb0b6a149
Bug 481218 - js_IsCallable returns false for functions. r=brendan.
...
--HG--
extra : rebase_source : 52d3cba36f3fa1301223cb579bd75ec7bbd5d130
2009-03-11 10:46:45 -05:00
Brendan Eich
0332084955
Bug 481516 - Assertion failure: pobj_ == obj2, at ../jsinterp.cpp:4276 when getting a property that is cached but shadowed (r=jorendorff).
2009-03-06 16:34:19 -08:00
Brendan Eich
53c9096f08
Bug 480759 - TM: trace RegExp constructors (r=gal).
2009-03-04 19:26:16 -08:00
Robert Sayre
100a8e68be
Bug 476374 - JSON.parse does not support reviver argument as defined in spec. r=jorendorff
2009-03-03 12:55:11 -05:00
Andreas Gal
4c04aa2f53
Backed out bug 480657. Massive failures across all platforms.
2009-02-28 23:40:04 -08:00
Andreas Gal
7bd6cbad5f
Add an API to define traceable constructors (480657, r=brendan).
2009-02-28 18:18:42 -08:00
Jeff Walden
378c7d2cea
Kicking Windows...
2009-02-27 22:32:38 -08:00
Jeff Walden
6913144660
Bug 480579 - __proto__ setting does not flag delegate, breaking deep property caching assumptions. Tag-team effort of Brendan and me, r=us
2009-02-27 22:23:09 -08:00
Jeff Walden
ece84ef199
Bug 474501 - JS array and object literals should define properties, not set them, to avoid calling getters or setters along the prototype chain. r=brendan
2009-02-03 23:14:36 -08:00
Jason Orendorff
b7fb9bc849
Bug 460865 - Read barrier for cx->fp. r=mrbkap, r=dmandelin.
...
--HG--
extra : rebase_source : 19963188b2f9f96336ce6ca28dbaefccf3a639b7
2008-12-09 10:38:32 -06:00
Jeff Walden
5536e7f722
Bug 465476 - SpiderMonkey confusion over "-0" and "0" properties of an object. r=brendan
2008-11-21 11:47:35 -08:00
Jason Orendorff
a27d101dab
Bug 458735 - Improve internal API for traceable natives (r=brendan, nanojit r=edwsmith)
2008-10-08 17:08:33 -05:00
Jason Orendorff
e63d2c737c
Bug 455953 - js_DumpObject debugging function (r=crowder)
2008-09-25 11:29:12 -05:00
Brendan Eich
34a2d3c518
Fix build bustage: parent or proto might be not JSObject* when setting to null. r=brendan, patch by bz.
2008-09-09 12:33:28 -07:00
Brendan Eich
40cf4096c7
Avoid needless prototype-shape purges (454035, r=igor).
2008-09-09 09:57:10 -07:00
Brendan Eich
9cd8e5a539
Upvar, v0.1 (limited to looking up from eval in a function, to the function's args and vars).
2008-08-21 03:47:33 -07:00
Brendan Eich
4a25cf5a32
Defer eval'ed script destruction to next GC; expose js_obj_eval for tracing.
2008-08-20 22:18:42 -07:00
shaver@mozilla.org
5d3ad68bbe
merge from mozilla-central
2008-08-20 08:17:17 -07:00
Brendan Eich
d004346b52
Object.prototype.{hasOwnProperty,propertyIsEnumerable}.
2008-08-11 17:47:05 -07:00
Brendan Eich
56fac8fe90
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
shaver@mozilla.org
ee67ea9db4
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
eaf4254c15
Merge from mozilla-central.
2008-08-08 18:58:04 -07:00
Igor Bukanov
b16852c1cd
bug 412296 - removal of minarg support for fast native
2008-08-08 18:02:50 +02:00
Brendan Eich
fe3a6127c5
- 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
Igor Bukanov
d3223d86a3
[Bug 446229] Fixing GCC conversion warnings within SpiderMonkey. r=brendan
2008-07-20 14:53:21 +02:00
Igor Bukanov
e1c0b7d628
Bug 443746 – Optimizing the enumeration state allocation. r=brendan
2008-07-06 21:02:44 +02:00
Brendan Eich
d0966c0fc0
Clean up for-in ops and naming nit (443039, r=igor).
2008-07-01 18:59:18 -07:00
Igor Bukanov
8012684984
[Bug 411575] SM: faster js_PutCallObject, r=brendan
2008-06-30 19:17:33 +02:00
igor@mir2.org
5cab25689b
[Bug 427798] faster js_PutBlockObject(), r=brendan a1.9=shaver
2008-05-01 14:59:52 -07:00
crowder@fiverocks.com
f780e2e7be
Bug 428336, assertion failure after deleting eval 16 times, patch by mrbkap, r=brendan, a=mtschrep
2008-04-14 17:31:43 -07:00
igor@mir2.org
303ea3000c
[Bug 423874] Allocating functions together with JSObject. r=brendan a1.9=blocking1.9
2008-04-02 00:46:12 -07:00
igor@mir2.org
d8bf5a95c1
[bug 424964] optimizing reserve slot allocation, r=brendan a1.9=mtschrep
2008-03-29 06:38:28 -07:00
igor@mir2.org
c0d5c51190
[bug 423874] backing out as a simpler patch would do the job with less code.
2008-03-29 03:34:29 -07:00
igor@mir2.org
eaa513c2f5
bug=423874 r=brendan a1.9b5=dsicore Allocating native functions together with JSObject
2008-03-21 01:19:23 -07:00
mrbkap@gmail.com
24f718d4ac
Don't assume that chrome:// implies system principals. bug 419848, r=brendan sr=jst
2008-03-06 14:52:58 -08:00
mrbkap@gmail.com
41fce0a6d7
Fix array_concat to be more generic. bug 420966, r=brendan a=beltzner
2008-03-06 12:05:18 -08:00
mrbkap@gmail.com
59987175f2
Outerize |this| always. bug 418069, r/sr=jst/brendan a=beltzner
2008-02-29 16:17:38 -08:00
gavin@gavinsharp.com
3106b6c27f
Back out bug 418069 because it causes a crash on startup for Camino
2008-02-20 18:06:26 -08:00
crowder@fiverocks.com
d7bbfe4d1d
Bug 418069 - js1_5/Regress/regress-379245.js FAIL - browser - bad this, patch by mrbkap, r=brendan, sr=jst, a1.9=brendan
2008-02-20 15:28:18 -08:00
igor@mir2.org
c94ca494bf
Bug 416439. Using goto error in the interpreter to shrink code size. r,a1.9=brendan
2008-02-19 04:16:26 -08:00