Jeff Walden
32dfb1669c
Followup to bug 614493 to fix GCC overwarning about 'uninitialized' variables in js_XDRScript. r=warnings
...
--HG--
extra : rebase_source : ce0062c356524ee14dedf39e67c6aa1880259afb
2010-12-30 16:40:21 -06:00
Jeff Walden
f7bec8a9e8
Bug 614493 - Move top-level binding storage (and argument, variable, and upvar counts) out of JSFunction and into js::Bindings, itself stored in JSScript, anticipating the time when strict mode eval scripts will need it. r=brendan
2010-11-16 15:34:24 -08:00
Brian Hackett
be4d109005
Don't generate INITPROP/INITELEM for singleton constant initializers, bug 577359.
2010-12-30 08:07:43 -05:00
Bill McCloskey
9090d0a347
Bug 584860 - TraceMonitor cleanups (r=igor)
2010-12-22 14:00:06 -08:00
Bill McCloskey
c8eee530e2
Bug 584860 - Move TraceMonitor into compartment (r=gal)
2010-12-22 12:02:25 -08:00
Steve Fink
4187f585f2
Bug 610793 - Add a per-script enableSingleStepInterrupts() to JSD [r=dmandelin]
...
--HG--
extra : rebase_source : 248eb8bf3d3a94cce626614da2be1449c8b27a8f
2010-11-16 15:18:35 -08:00
Jeff Walden
c39f97db70
Convert JSScript::*Offset into offsets from the end of JSScript, not from its start, to escape an offset <= 0xFF requirement failing due to an impending increase in the size of JSScripts for bug 614493. r=brendan
...
--HG--
extra : rebase_source : 8c4046bdc99b8280d414cba864b7d5e1b1f25331
2010-12-02 14:23:51 -08:00
Jeff Walden
f432da735d
Bug 614333 - Remove the empty-script singleton optimization: it is effectively disabled with the methodjit, and its use of a single const JSScript for everything (including across compartments) interferes with recording name bindings in scripts, in order to correctly implement strict mode eval. r=brendan
...
--HG--
extra : rebase_source : 38a7faedb4b090e844cc342c82b273c75ef763bb
2010-11-16 15:30:56 -08:00
David Mandelin
6110e0823d
Bug 610480 last part: fix MSVC warnings, r=jorendorff
2010-11-29 13:33:17 -08:00
Igor Bukanov
5d06dd5a14
Bug 599610 - making sure that PurgeScriptFragments collects all fragments
2010-10-06 17:21:23 +02:00
David Anderson
c190047dbc
Fix bug 602574 - Assertion failure: constOffset != 0 in JSScript::NewScript() on 64-bit platforms. r=gal@uci.edu
2010-10-10 15:47:09 -07:00
Andreas Gal
96223bbef4
Make functions per compartment, and deep copy instead of clone them if needed (584789, r=mrbkap).
2010-09-29 23:17:29 -07:00
David Anderson
dfffa5d871
Fix crash in AtSafePoint (bug 589398, r=dmandelin).
2010-10-05 16:41:06 -07:00
David Anderson
552330f091
ICs for scripted new (bug 589398, r=luke,dmandelin).
...
--HG--
extra : rebase_source : d7311ce916e8d6c876d1851090806bc7d073bd63
2010-10-04 14:13:33 -07:00
David Anderson
6dbf424efd
Backed out changeset de5d1b528b9a
2010-10-04 15:12:00 -07:00
David Anderson
6ddd3429fc
ICs for scripted new (bug 589398, r=luke,dmandelin).
2010-10-04 14:13:33 -07:00
Andreas Gal
331dc80c9e
Backout bug 584789, has to go into blake's patch queue, event't handlers don't set the right compartment in TM tip.
2010-09-30 00:05:33 -07:00
Andreas Gal
dd4d8530b1
Make functions per compartment, and deep copy instead of clone them if needed (584789, r=mrbkap).
2010-09-29 23:17:29 -07:00
Andreas Gal
e80492a92a
Back out bug 584789.
2010-09-29 20:38:03 -07:00
Andreas Gal
650aaf4f01
Make functions per compartment, and deep copy instead of clone them if needed (584789, r=mrbkap).
2010-09-29 19:42:22 -07:00
David Anderson
2f002d500e
Add local and argument closure information to JSScript (bug 592973, r=brendan+dmandelin).
...
--HG--
extra : rebase_source : 3d36a7908230006f2b048835f7526962fac2b32b
2010-09-13 22:33:44 -07:00
Chris Leary
2fa4fedbc1
Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw)
2010-09-13 09:38:22 -07:00
Brendan Eich
d7abc9c150
Eliminate JSObject::freeslot via monotonic lastProp->freeslot (592556, r=jorendorff,dvander).
2010-09-02 14:50:44 -07:00
Chris Leary
7c740a8dc0
Back out due to mochiserver breakage. (no_r=me)
2010-09-09 16:52:31 -07:00
Chris Leary
7c2ac56dff
Bug 540675: remove callerVersion from stack frame. (r=lw)
2010-09-09 14:25:30 -07:00
David Anderson
69b95ea914
ICs for scripted calls (bug 587698, r=dmandelin).
2010-09-02 20:04:33 -07:00
David Mandelin
c056a07f6b
Backed out changeset 41e3e584023f -- more tinderbox bustage.
2010-08-27 18:51:14 -07:00
David Anderson
8d3e96d32e
[JAEGER] ICs for scripted calls (bug 587698, r=dmandelin).
2010-08-27 17:50:53 -07:00
Sean Stangl
ef6068d3b0
[JAEGER] Backed out changeset 1035fdc5d714. no_r=fire.
2010-08-27 10:42:10 -04:00
Jan de Mooij
5209097cb3
[JAEGER] Added fast-path for >>> (bug 589932, r=dvander).
2010-08-26 01:29:52 -04:00
David Anderson
e9aeb4b8bb
Backed out changeset ebd2b956b565.
2010-08-26 02:30:08 -04:00
David Anderson
169050a338
[JAEGER] Inline caches for scripted calls (bug 587698, r=dmandelin).
2010-08-26 01:29:52 -04:00
David Anderson
194facbde7
[JAEGER] Clean up JSScript hacks (bug 590275, r=dmandelin).
2010-08-24 22:57:35 -04:00
David Mandelin
02f201cead
[JAEGER] Merge from tracemonkey.
2010-08-23 11:35:14 -07:00
Jim Blandy
285b03968f
Bug 438633: Give new JSScript objects lifetimes like GCThings. r=brendan
...
Attach script objects immediately in all JSAPI script-creating functions;
have JS_NewScriptObject simply return the already-allocated object; and
make JS_DestroyScript a no-op.
Verify that all scripts given to JSAPI script-consuming functions have
objects, or are the canonical empty script object.
2010-08-20 13:11:05 -07:00
Sean Stangl
03963cf4ff
[JAEGER] Implement PurgeMICs. b=584182, r=dvander.
2010-08-12 16:58:43 -07:00
Andrew Drake
bc97d0240e
[JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154
2010-08-05 17:15:49 -07:00
Andrew Drake
ebfb6d0eca
Backed out changeset a8aeff259925 and fix due to random crashes.
2010-08-11 02:35:10 -07:00
Andrew Drake
e4ec6d69ff
[JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154
2010-08-05 17:15:49 -07:00
David Mandelin
ddcca372a7
Backed out changeset a661b26a83a1 due to tinderbox failures.
2010-08-06 11:41:28 -07:00
Andrew Drake
469286fcd4
[JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154
2010-08-05 17:15:49 -07:00
David Mandelin
904ccc994c
Merge from Tracemonkey.
2010-07-27 11:48:08 -07:00
David Mandelin
fff17561b9
[JAEGER] Fixed a few warnings
2010-07-26 11:54:12 -07:00
David Mandelin
8702c2649d
Merge from Tracemonkey.
2010-07-26 11:52:26 -07:00
Chris Leary
4c5fd024ab
Bug 578272: Remove Algol-like display optimization. (r=brendan)
2010-07-26 06:35:38 -07:00
Andrew Drake
0040af619a
[JAEGER] Implement trap part of debug API. r=dvander, b=570650
2010-07-21 03:04:39 -07:00
David Mandelin
2d74ccfb40
Backed out changeset d1d52f7820f2 due to Mochitest crashes.
2010-07-22 17:11:10 -07:00
Andrew Drake
3f3b764d82
[JAEGER] Implement trap part of debug API. r=dvander, b=570650
2010-07-21 03:04:39 -07:00
David Anderson
fa4e27c745
[JAEGER] Basic integration of tracing JIT and method JIT (bug 578727).
2010-07-20 18:01:16 -07:00
David Anderson
cf5a8cf505
[JAEGER] Merge from tracemonkey.
2010-07-19 20:49:26 -07:00