Commit Graph

269 Commits

Author SHA1 Message Date
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
Nicholas Nethercote
fecf9a1832 Bug 588648 - Don't copy chars when scanning. r=brendan. 2010-12-07 15:22:52 -08:00
David Anderson
e067f6da91 Setting debug mode should purge call ICs (bug 612640, r=bhackett). 2010-11-30 17:11:02 -08:00
Jeff Walden
88d923a99a Bug 614338 - Move some call object property methods into the js namespace. r=dmandelin
--HG--
extra : rebase_source : 3816a3ae6d775e5866030c8a51cc305f09dda1f2
2010-11-16 15:30:57 -08:00
Jeff Walden
00e7aa2bfc Fix warnings compiling with gcc 4.5. rs=brendan 2010-11-22 11:53:38 -05:00
Robert Sayre
f8d70b12f4 Merge mozilla-central to tracemonkey. 2010-11-16 07:25:10 -08:00
Jim Blandy
f27d13f045 Bug 602139: Add js_UpdateWatchpointsForShape, to correctly update watchpoints after shape changes. r=jorendorff
Many of the watchpoint bugs have to do with wp->setter and wp->shape
getting out of sync. The new function js_UpdateWatchpointsForShape takes
care of bringing all relevant watchpoints fully up to date; it is called
from the places in jsscope.cpp where property changes take place, and is
also used by the watchpoint creation code. DropWatchPointAndUnlock becomes
simpler; js_FindWatchPoint, js_WrapWatchedSetter and js_watch_set_wrapper
become static to jsdbgapi.cpp.
2010-11-09 15:04:12 -08:00
Jim Blandy
f591cd6663 Bug 602139: Trivial cleanups to watchpoint implementation. r=jorendorff
Separated for ease of review.
2010-11-09 15:04:11 -08:00
Luke Wagner
a5861fe116 Bug 603045 - JM: don't optimize away JSFRAME_HAS_RVAL check in debug mode (r=bhackett)
--HG--
extra : rebase_source : 6c975694160595fa65e0acf174b9b7f6c5997d56
2010-11-08 09:28:12 -08:00
Robert Sayre
03513401da Bug 595243 - Expose debugMode to JSD. Relanding test bustage fixed up. r=gal. 2010-10-30 12:13:02 -04:00
Jeff Walden
f48a8e6d43 Merge backout. 2010-10-29 22:36:37 -07:00
Jeff Walden
ff603e73f4 Backed out changeset 85feecf161fe (Career Limiting Move? <http://bonsai.mozilla.org/cvsquery.cgi?who=sspitzer%40netscape.com&whotype=regexp&date=explicit&mindate=2001-01-25+10%3A00&maxdate=2001-01-25+10%3A15>), seems to have turned mochitest-plain-4 orange. 2010-10-29 22:31:12 -07:00
Robert Sayre
19cc79ccf3 Bug 595243 - Expose debugMode to JSD. r=gal 2010-10-29 18:35:07 -04:00
Chris Leary
8692140272 Bug 607724: Minor scope chain function cleanup. (r=mrbkap) 2010-10-27 16:18:16 -07:00
Blake Kaplan
f4cc477379 Bug 607174 - Add assertions to jsdbgapi.cpp and enter compartments where it isn't possible for the caller to do so. landing with r=gal
--HG--
extra : rebase_source : f0e69380a0ef144e07af7d75b859712fe67bb753
2010-10-26 19:48:51 -07:00
David Mandelin
d6fffb8112 Fix MSVC warnings. 2010-10-29 16:37:43 -07:00
David Mandelin
1f754fcd0f Bug 604798: move JM global data to compartment, r=dvander 2010-10-29 15:37:13 -07:00
David Mandelin
747cf33686 Backed out changeset ecd2f8753d5a: argh, fixes didn't land for some reason 2010-10-29 16:22:44 -07:00
David Mandelin
7779114001 Bug 604798: move JM global data to compartment, r=dvander 2010-10-29 15:37:13 -07:00
David Mandelin
867a8a9f10 Backed out changeset 394e0bd325b1: tinderbox bustage 2010-10-29 16:08:47 -07:00
David Mandelin
1932408866 Bug 604798: move JM global data to compartment, r=dvander
--HG--
extra : rebase_source : 459bbec8a3f8ab3739806da7336a0a10cee9bcd1
2010-10-29 15:37:13 -07:00
Jason Orendorff
bfaf004fd7 Merge. 2010-10-22 19:11:26 -05:00
Jason Orendorff
596862d852 Remove JSObject::title. Bug 606029, r=igor. 2010-10-22 19:04:22 -05:00
Andreas Gal
a4b0c37cda Remove obsolete wrappedObject extended class hook (604523, r=mrbkap/vlad/dvander). 2010-10-22 15:40:11 -07:00
Andreas Gal
6e672eda05 Backed out changeset 438afef93fd5 (bug 604523) due to suspected orange. 2010-10-20 23:19:05 -07:00
Andreas Gal
e5f45d98a2 Remove obsolete wrappedObject extended class hook (604523, r=mrbkap/vlad/dvander). 2010-10-20 22:41:35 -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
David Anderson
e0dffc93d5 Merge backout. 2010-10-15 15:29:31 -07:00
David Anderson
61f242f7aa Backed out changeset 2bdf648e7015 2010-10-15 15:21:51 -07:00
David Anderson
a130b5b67b Backed out changeset cf1d774f7f73 2010-10-15 15:21:20 -07:00
David Anderson
cdeea159b6 Fix JSD build bustage, JSOP_BEGIN removal fallout. 2010-10-15 14:20:02 -07:00
David Anderson
3c809907f5 Merge backout. 2010-10-15 14:19:06 -07:00
David Anderson
c7c5f82ff4 Backed out changeset 1998fa240434 2010-10-15 14:13:59 -07:00
David Anderson
3b03a237fa Remove JSOP_BEGIN and fix tracer integration issues (bug 603044, r=luke+dmandelin). 2010-10-15 11:36:56 -07:00
Sean Stangl
c92d9ddfdd Detect some OOM conditions. b=602935, r=jorendorff. 2010-10-14 19:24:09 -04:00
Brian Hackett
f9cf7a5b7d Flexible length JSObject, bug 584917. r=brendan,igor 2010-10-13 11:49:22 -07:00
Jeff Walden
4626f47ec6 Bug 514570 - 3 - Don't box |this| for strict mode functions. r=jorendorff 2010-10-12 11:50:03 -07:00
David Mandelin
3024f662e3 Bug 602003: add jsd API to query valid script begin and end PCs, r=sayrer,jjb 2010-10-06 11:23:14 -07:00
David Mandelin
50f3df9d0e Backed out changeset af020f2b9293 due to x64 build bustage. 2010-10-07 17:03:01 -07:00
David Mandelin
544d2fb3f2 Bug 602003: add jsd API to query valid script begin and end PCs, r=sayrer,jjb 2010-10-06 11:23:14 -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
Jason Orendorff
630900ee20 Finally get rid of /* Added by JSIFY */ comments. r=Waldo. 2010-10-01 18:46:54 -05:00
Gregor Wagner
fdb731becb Bug 558861 - Compartmental GC (r=gal) 2010-09-24 10:54:39 -07:00
Steve Fink
6a33041b03 Bug 583143 - Fix bustage with MOZ_TRACEVIS and other NPOTB code (r=lw) 2010-09-20 12:43:52 -07:00
Blake Kaplan
c648566dbb Bug 609496 - Get rid of compartment-obsoleted code. r=jst a=blocking betaN
--HG--
extra : rebase_source : 0241526965897b83db8299331105244b2aceecbc
2010-11-04 17:23:22 -07:00
Brian Hackett
066d48b6b6 Backed out changeset 09ffb30caa47 2010-09-20 12:05:21 -07:00
Brian Hackett
e8819f33fa Make JSObject flexible length, bug 584917. r=brendan 2010-09-20 11:40:32 -07:00
David Anderson
797765d0c9 Require SSE2 to use Method JIT on x86 (bug 596457, r=dmandelin). 2010-09-15 22:27:17 -07:00