Brian Hackett
e5020a35b3
[INFER] Condense type information during GC, bug 613221.
2011-03-01 13:10:05 -08:00
Brian Hackett
0a2cdd3c56
Merge TM -> JM
2011-02-25 18:21:43 +13:00
Paul Biggar
78cc4facc5
[INFER] Fix invalid assertion about JSScript size.
...
This was triggered by changing the size of JSScript by adding members. The fix is pulled from tracemonkey, where the same thing happened.
2011-02-22 11:07:36 -08:00
Bill McCloskey
227c8948dc
Bug 606960 - Purge property cache even for eval scripts (r=brendan,a=beltzner)
2011-02-23 10:23:59 -08:00
Steve Fink
1c6a84e2d8
Bug 633016 - Notify debug hooks of script lifetime when pulling script from the eval cache (r=luke)
...
--HG--
extra : rebase_source : cec97d3ad0bcbad52bda31fb6148ce1e6a1a3b95
2011-02-11 13:23:18 -08:00
Steve Fink
91fce5cc8a
Backout 1b55728f51ad (bug 633016) due to leaking jsdScript objects
2011-02-10 14:33:10 -08:00
Steve Fink
9def74762b
Bug 633016 - Notify debug hooks of script lifetime when pulling script from the eval cache (r=luke)
...
--HG--
extra : rebase_source : b3b5bcc1c9af9f835a3921fd5a84c4a9d1478b25
2011-02-10 12:02:15 -08:00
Jim Blandy
de75b9fa19
Bug 537873: Add a 'strict' argument to C++ property setter functions. r=brendan
...
This changes the type of setters to JSStrictPropertyOp, which is just like
JSPropertyOp except that it takes a 'JSBool strict' argument. Most of the
patch is introducing distinct types and using the appropriate stubs.
The following are left for subsequent patches:
x Similar fixes to the browser outside SpiderMonkey.
x Actually *using* the newly available strictness information. This patch
should have no user-visible effect. I didn't want the interesting stuff
to get lost in this noise.
2011-02-09 11:31:40 -08:00
Brian Hackett
b5bb63ceba
[INFER] Decouple type sets computed by inference from analysis information, store in new TypeScript struct, bug 621301.
2010-12-28 14:53:50 -05:00
Brian Hackett
0424213572
[INFER] Always give scripts empty analysis info, bug 619338.
2010-12-22 15:45:43 -08:00
Brian Hackett
cde265e645
[INFER] Fixes for jstests, bug 620599, part 2.
2010-12-21 18:26:09 -08:00
Brian Hackett
89bb1d08e8
Merge TM -> JM
2010-12-20 09:06:43 -08:00
Brian Hackett
baf09eaede
[INFER] Objects with same shape have same type, objects with same type have same prototype, bug 619271.
2010-12-18 20:44:51 -08:00
Brian Hackett
accdca294b
Merge TM -> JM
2010-12-07 17:11:37 -08:00
Jeff Walden
bfb5f66584
Bug 614333 - In aid of collecting empty script stats, add a frob to dump script statistics each time a new high number of scripts exist at one time, conditioned on DEBUG and the JS_DUMP_LIVE_SCRIPTS environment variable. r=brendan
2010-12-02 14:23:51 -08:00
Brian Hackett
002fd1a589
Merge TM -> JM
2010-11-30 09:04:25 -08:00
David Mandelin
6110e0823d
Bug 610480 last part: fix MSVC warnings, r=jorendorff
2010-11-29 13:33:17 -08:00
Brian Hackett
abc31759f4
[INFER] Overhaul handling of prototypes in type inference, bug 557407.
2010-11-24 20:41:52 -05:00
Brian Hackett
36efb56b2b
Analysis and recompilation tuning for SS, bug 608746.
2010-11-20 15:45:52 -08:00
Brian Hackett
ee3f068ff9
Merge TM -> JM
2010-11-18 21:09:24 -08:00
Brian Hackett
64024ac826
[INFER] Cleanup inference logging, bug 557407.
2010-11-18 15:18:23 -08:00
Brian Hackett
daeffc60c3
[INFER] Trace IDs and objects which inference depends on, bug 613221.
2010-11-18 11:23:22 -08:00
Brian Hackett
bcd78eb5d4
[INFER] Recompilation on dynamic type changes, bug 608746.
2010-11-18 08:28:05 -08:00
Brian Hackett
3ef71abbf0
Kludge allowing JM to use type inference without needing recompilation, bug 608746.
2010-11-01 09:43:25 -07:00
Brian Hackett
4791208c2a
[INFER] Fix another Windows build break.
2010-10-29 11:44:30 -07:00
Brian Hackett
696cff5132
[INFER] Javascript type inference, bug 557407.
2010-10-29 08:05:55 -07:00
David Anderson
2f0a83a27d
Remove JSOP_BEGIN and fix tracer integration issues (bug 603044, r=luke+dmandelin).
2010-10-15 11:36:56 -07:00
Jason Orendorff
17deb16433
Add assertions in JSScript::NewScript against offset overflow. Bug 604387, r=dvander.
2010-10-14 14:58:01 -05:00
Brendan Eich
ab966b3529
Warning fixes (one left over from 602621, the other from 584789).
2010-10-10 21:11:45 -07: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
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
Jim Blandy
75087aebb4
No bug: Add missing ampersand in non-JS_THREADSAFE case. r=red
2010-11-18 10:51:56 -08:00
Igor Bukanov
5d06dd5a14
Bug 599610 - making sure that PurgeScriptFragments collects all fragments
2010-10-06 17:21:23 +02:00
Jeff Walden
8cb990a0d3
Make JSTreeContext::fun and JSTreeContext::scopeChain private (they share a union), and provide accessors that assert that the tree context is or is not in a function, as appropriate. r=dvander
2010-11-16 14:13:29 -08:00
Jeff Walden
82a86462f5
Backed out changeset b6486db91e91, lots of orange
2010-11-11 14:23:49 -08:00
David Mandelin
1d9fdc0aba
Bug 610480 part 3: silence a last few MSVC warnings
2010-11-11 12:17:08 -08: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
Jason Orendorff
630900ee20
Finally get rid of /* Added by JSIFY */ comments. r=Waldo.
2010-10-01 18:46:54 -05: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
Gregor Wagner
fdb731becb
Bug 558861 - Compartmental GC (r=gal)
2010-09-24 10:54:39 -07:00
David Anderson
52761821cf
Fix global variables overwriting resolved properties (bug 595917, r=brendan).
2010-09-21 12:38:30 -07:00
Chris Leary
2fa4fedbc1
Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw)
2010-09-13 09:38:22 -07:00
Luke Wagner
562fc49870
Bug 539144 - Make formal args a jit-time const offset from fp; rm argv/argc/thisv/script/callobj (r=brendan,dvander)
2010-08-09 22:43:33 -07:00