Igor Bukanov
d77b8664fb
bug 491013 - fixing shared setter regression and eliminating several useless anonymous prototype objects. r=brendan
2009-05-03 20:43:55 -04:00
Igor Bukanov
227ef1efd3
bug 491115 - asserting in js_SetProtoOrParent only when not detecting cycles. r=brendan
2009-05-02 20:49:45 +02:00
Igor Bukanov
35116060a2
bug 489501 - consolidating
...
js_SetProto must mutate the prototype chain. r=brendan
2009-05-01 13:48:27 -07:00
Jim Blandy
d9e9626654
Bug 488018: Fix bustage: any function using TRACE_2 needs an 'error' label.
2009-04-30 17:54:20 -07:00
Andreas Gal
cafa156d52
We don't cache access to shared properties in the property cache (490666, r=igor,brendan).
2009-04-30 15:52:13 -07:00
Igor Bukanov
b8405f1171
bug 487846 - optimizing shape prediction for set opcodes. r=brendan
2009-04-29 07:07:21 -07:00
Graydon Hoare
9188f47f3a
Backout a seemingly problematic line of cset d8c2060b0f9b.
2009-04-24 23:13:27 -07:00
Graydon Hoare
bb4177dccd
Bug 490044 - TM: Add deep-bailing write barrier to global shape change code, r=brendan.
2009-04-24 17:47:32 -07:00
Andreas Gal
e58ef54027
js_NewInstance locks ctor on trace (490092, r=brendan).
2009-04-24 19:41:36 -07:00
Igor Bukanov
e4bc4e81cb
bug 488995 - fixing error reporting for getter-only properties. r=mrbkap sr=jst
2009-04-22 12:39:08 +02:00
igor
48c3925a9a
js_SetPropertyHelper does not null *entryp for read-only properties (489171, r=gal,brendan).
2009-04-20 17:00:59 -07:00
Igor Bukanov
4ad2e764fa
bug 488414 - js_GenerateShape just schedules, not run, the GC. r=brendan,gal
2009-04-20 12:10:29 +02:00
Igor Bukanov
fd49b19773
Backed out changeset f4662701526b (bug 488414) to fix !JS_THREADSAFE compilation errors
2009-04-20 11:59:36 +02:00
Igor Bukanov
56547f8087
bug 488414 - js_GenerateShape just schedules, not run, the GC. r=brendan,gal
2009-04-20 10:17:28 +02:00
Igor Bukanov
ba556afe6d
bug 487039 - caching only white-listed non-globals on the scope chain. r=brendan
2009-04-18 20:10:59 +02:00
Igor Bukanov
ac71be6d66
bug 487204 - NativeGet caching fixes. r=brendan
2009-04-18 19:56:53 +02:00
Graydon Hoare
f97341fdf6
Bug 488363 - Missing write barrier on global object, r=jorendorff.
2009-04-17 15:25:25 -07:00
Andreas Gal
da0094a55c
Backed out changeset 324bb9dc8372 (bug 487204 is implicated in top site failures).
2009-04-17 12:41:00 -07:00
Andreas Gal
6520b20732
Backed out changeset 5bd116148175 (attempting to re-land bug 487204).
2009-04-16 17:56:18 -07:00
Andreas Gal
3b10c56019
Backed out changeset d1a4ee3d0c59 (bug 487204, due to possible leak).
2009-04-16 12:19:24 -07:00
Igor Bukanov
577cb23ac0
bug 487204 - avoiding extra locks for js_Native(Get|Set). r=brendan
2009-04-15 21:13:27 +02:00
Igor Bukanov
95c0598199
bug 488285 - fixing strict mode warnings with DOm window object. r=brendan
2009-04-15 16:09:58 +02:00
Igor Bukanov
225dc1322f
bug 488029 - fixing bindname optimization regression from the bug 462734 plus creating js_DeclEnvClass instances together with Call objects. r=brendan
2009-04-14 12:54:37 +02:00
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
Jason Orendorff
b5d4ba583e
Bug 487676 - Nesting deep-aborting trace calls don't work. r=gal.
...
--HG--
extra : rebase_source : 436164485bd5e981e5ae8997eed2c371f3ecd77b
2009-04-09 18:07:00 -05:00
Jim Blandy
1d133ec6ba
Bug 469237: Assert that we never add properties to lexical blocks. r=igor
2009-04-09 13:07:27 -07:00
Brendan Eich
fa172251b0
Bug 481514 - PurgeScopeChain should not deep-bail quite so eagerly (r=jorendorff, a=sayrer).
2009-04-06 13:24:34 -07: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
4df05a423c
bug 484861 - removal of unsed fields from JSObjectOps. r=mrbkap
2009-04-01 14:32:51 +02:00
Graydon Hoare
3e481f618d
Bug 484751 - Followup patch to fix crash in initial checkin, r=mrbkap.
2009-03-31 19:34:32 -07:00
Jeff Walden
3e189b0822
Bug 484751 - TM: "Assertion failure: !OBJ_GET_CLASS(cx, proto)->getObjectOps, at ../jsobj.cpp". r=mrbkap
2009-03-31 14:24:01 -07:00
Robert Sayre
d3ae3d827d
Merge mozilla-central to tracemonkey.
2009-03-29 10:42:32 -07:00
Jeff Walden
69543b2f1f
Make js_DumpValue more useful with function jsvals. r=mrbkap
2009-03-26 16:07:54 -07:00
Robert Sayre
150b7d8a28
Merge tracemonkey to mozilla-central.
2009-03-24 13:49:05 -04:00
Ben Turner
b554980985
Fix for windows build bustage
2009-03-19 17:19:19 -07:00
Robert Sayre
116429311e
revert to changeset b59984b88601
2009-03-20 00:23:44 -04:00
Robert Sayre
f7b741972b
Merge tracemonkey to mozilla-central.
2009-03-20 00:04:47 -04:00
Ben Turner
364e0e0d6a
Fix for windows build bustage
2009-03-19 17:19:19 -07:00
Andreas Gal
315a5d0bcb
Read barrier for global object properties (463153, r=brendan).
2009-03-17 10:39:51 -07:00
Jason Orendorff
befcabe89e
Bug 481444 - TM: objectHook is called on trace, via js_NewObject [@ LeaveTree] or [@ js_SynthesizeFrame]. r=gal.
...
Thanks Daniel!
2009-03-12 08:34:57 -05:00
Igor Bukanov
20e6be9c80
bug 362910 - js_GetMethod cleanup. r=brendan
2009-03-14 17:41:47 +01:00
Jim Blandy
249eed4eb3
Back out fix for 481444; orange on Linux TraceMonkey unit test: http://tinderbox.mozilla.org/showlog.cgi?log=TraceMonkey/1236978913.1236990062.26824.gz&fulltext=1
2009-03-13 18:07:25 -07:00
Jason Orendorff
f7ad0e9e06
Bug 481444 - TM: objectHook is called on trace, via js_NewObject [@ LeaveTree] or [@ js_SynthesizeFrame]. r=gal.
...
Thanks Daniel!
2009-03-12 08:34:57 -05:00
Jim Blandy
875aee5e88
Bug 479258: Include "jsstdint.h" for <stdint.h> type use within SpiderMonkey. r=brendan
2009-03-18 11:38:16 -07: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
Robert Sayre
a408d9bbad
Merge m-c to tm.
2009-03-10 16:49:12 -04:00
Igor Bukanov
09d80afc72
bug 355829 - treating null as a primitive value in js_ValueToObject. r=brendan
2009-03-10 13:52:10 +01:00
Brendan Eich
e37fd1b818
Bug 476447 - Array.prototype getter/setter does not work as usual (r=jorendorff).
2009-03-09 11:25:43 -07:00
David Mandelin
a148ea64cd
Add missing GC_POKE to js_SetRequiredSlot (481922, r=igor).
2009-03-07 01:32:22 -08: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
8f71e6c715
Merge m-c to tm
2009-03-04 14:52:53 -05:00
Brendan Eich
a57f1ef4a2
Keep --disable-jit working (480657, r=gal).
2009-03-04 00:38:46 -08:00
Brendan Eich
f32c3d8613
Bug 480657 - TM: Add an API to define traceable constructors (r=gal, jorendorff).
2009-03-03 22:53:27 -08:00
Andreas Gal
8c3223aab5
Browser spuriously sets runtime->anyArrayPrototypeHasElement and makes perf bad (481251, r=mrbkap).
2009-03-03 18:04:15 -08:00
Robert Sayre
f4c8ebe128
Merge tm to m-c.
2009-03-03 13:48:15 -05:00
Jason Orendorff
ffaa49afc4
Bug 480856 - PurgeScopeChain should deep-bail. r=brendan.
...
--HG--
extra : rebase_source : b9c10596268b9421f66d9636342b7edf4419055e
2009-03-02 14:01:30 -06:00
Andreas Gal
4c04aa2f53
Backed out bug 480657. Massive failures across all platforms.
2009-02-28 23:40:04 -08:00
Andreas Gal
ee820bda7a
Style nit (no bug, no code change).
2009-02-28 18:40:59 -08:00
Andreas Gal
7bd6cbad5f
Add an API to define traceable constructors (480657, r=brendan).
2009-02-28 18:18:42 -08:00
Robert Sayre
990a187dc6
Merge tracemonkey to mozilla-central.
2009-03-09 14:45:46 -04:00
Blake Kaplan
e3650307b7
Bug 478910 - Unwrap |obj| because you can't use a wrapper as a variables object. r=brendan
2009-03-04 16:27:50 -08:00
Igor Bukanov
896a95119f
bug 477706 - fixing most VC 2005 warnings. r=gal,mrbkap
2009-02-26 09:49:39 +01:00
Jason Orendorff
3a3700435e
Bug 480126 - jsstack.js static analysis errors in js_GetCurrentBytecodePC and specializeTreesToMissingGlobals. r=bsmedberg.
2009-02-25 11:42:39 -06:00
Jason Orendorff
2f464f3348
Bug 479826 - Remove cx->pcHint. r=gal.
...
--HG--
extra : rebase_source : caf9fef929fe161fad2f6a98b53cb3d00e43f31f
2009-02-23 17:29:40 -06:00
Robert Sayre
12943580cf
Merge m-c to tracemonkey.
2009-02-23 12:44:23 -05:00
Jason Orendorff
15b9f03458
Bug 479566 - Rename array "dense length" to capacity. r=shaver.
2009-02-21 15:33:50 -06:00
Jason Orendorff
bf8b9e17e4
Bug 479353 - Crash [@ Detecting] or "Assertion failure: (uint32)(index_) < atoms_->length, at ../jsobj.cpp". r=igor.
2009-02-20 18:22:51 -06:00
Igor Bukanov
7ac32de806
bug 478543 - fixing warnings about casts between function and data pointers. r=brendan
2009-02-19 09:33:37 +01:00
Jim Blandy
2d6ea8b787
Bug 478075: Remove parent argument to js_GetCallObject. r=brendan
2009-02-18 23:57:24 -08:00
Jason Orendorff
c936fbe2d4
Bug 463239 - JS_SetTrap alters code execution. r=brendan.
2009-02-18 18:31:09 -06:00
Jason Orendorff
4dbb549ebc
Bug 477143 - jsstack.js static analysis error in js_GetPropertyHelper. r=mrbkap.
2009-02-18 13:14:41 -06:00
Robert Sayre
695b4646c3
Merge tm to mc
2009-02-19 11:48:08 -05:00
Jim Blandy
ede7e6d142
Bug 391488: Eliminate PTRDIFF macro; delete jssttddef.h. r=jimb
...
Delete jsstddef.h, since its only remaining purpose is to make certain
Win16-specific definitions; we don't support Win16 any more. In
particular, we can just subtract pointers now, so the PTRDIFF macro is
unnecessary noise.
Most places get stddef.h via jstypes.h or some other header, so we can
just delete #inclusions of jstddef.h. The exception is jskwgen.h, so
there we explicitly include <stddef.h> instead.
2009-02-18 09:14:51 -08:00
Blake Kaplan
42b1e63a5b
Bug 478047 - Assignments to a property that has a getter but not a setter should throw a TypeError. r=igor
2009-02-11 19:48:00 -08:00
Jason Orendorff
c9b0918474
Bug 477142 - _FAIL builtins need to be GC-safe. r=brendan.
...
--HG--
extra : rebase_source : 10515f7d1f5a85c1965c812f55d91d3d0f49a28e
2009-02-11 13:33:17 -06:00
Andreas Gal
93eb39269d
Substitute operation counting with a watchdog thread (477187, 3nd attempt, r=brendan/mrbkap/jst, sr=brendan/jst).
2009-02-10 14:07:01 -08:00
Andreas Gal
474d0d308f
Backout bug 477187.
2009-02-10 09:54:14 -08:00
Andreas Gal
f796bcd60a
Substitute operation counting with a watchdog thread (477187, 2nd attempt, r=brendan/mrbkap/jst, sr=brendan/jst).
2009-02-10 03:45:36 -08:00
Andreas Gal
2a20c2a6de
Backing out bug 477187. Breaks xpcshell.
2009-02-09 22:54:05 -08:00
Andreas Gal
cbfbbd3cac
Substitute operation counting with a watchdog thread (477187, r=brendan/mrbkap/jst, sr=brendan/jst).
2009-02-09 18:20:50 -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
Jeff Walden
3c038a63cb
Bug 463243 - Assert correct type in JSVAL_TO_* (and vice versa) macros to fail fast when type errors happen. r=brendan
2009-02-03 13:56:25 -08:00
Graydon Hoare
d1049135f4
Bug 469625 - Deoptimize special own-properties, r=brendan.
2009-02-04 11:08:31 -08:00
Andreas Gal
359fa8c1b5
Backout bug 474501. Causes a massive slowdown in trace-tests.js that needs to be investigated.
2009-02-04 01:47:44 -08:00
Jeff Walden
6a3bcef361
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
Andreas Gal
3d1dd7285b
Object_p_hasOwnProperty and Object_p_propertyIsEnumerable should be BOOL_FAIL, not BOOL_RETRY (476760, r=brendan).
2009-02-03 18:49:43 -08:00
Jason Orendorff
e4c1fb1cfd
Bug 462027 - Bail off trace when reentering interpreter. r=gal.
2009-02-03 18:25:12 -06:00
Jeff Walden
461e28ae88
Backed out changeset ca733f2cc237; looks like some include system weirdness is biting where an old version of jsapi.h is being included which then causes a *newer* included version to miscompile. Weird, still investigating...
2009-02-03 15:48:30 -08:00
Jeff Walden
e356cf1d3a
Bug 463243 - Assert correct type in JSVAL_TO_* (and vice versa) macros to fail fast when type errors happen. r=brendan
2009-02-03 13:56:25 -08:00
Jason Orendorff
27c16ff3b1
Bug 476666 - TM: Crash reading near 0 @Detecting, regression due to bug 476238. r=gal.
2009-02-03 12:39:46 -06:00
Jason Orendorff
4e3f2cfd40
Revert to 07be1f190a3d. Revision 5f5c1cd63641 should not have been pushed.
2009-02-03 12:38:44 -06:00
Jason Orendorff
f8ca22b197
Bug 476666 - TM: Crash reading near 0 @Detecting, regression due to bug 476238. r=gal.
2009-02-03 12:19:50 -06:00
Jason Orendorff
f6ffd1d380
[mq]: bug-462027-v9
2009-02-02 20:42:46 -06:00
Andreas Gal
68e8901a4a
Bake the value of fp->imacpc into the trace and report it at recording time when detecting inside JSOP_GETELEM (follow-up for 476238, r=brendan,jorendorff).
2009-02-02 18:21:28 -08:00
Andreas Gal
3682914dfd
Leave a hint for GetProperty in the context so it can figure out the current bytecode location without de-optimizing (476238, r=jorendorff).
2009-02-02 17:25:59 -08:00