Commit Graph

17005 Commits

Author SHA1 Message Date
Marco Bonardo
2b6e813cf3 Backout 281583d67072 (bug 702179) for Win64 opt build failure 2011-11-30 11:12:57 +01:00
Ginn Chen
8163299966 Bug 702179 dtrace probes are not installed on Solaris with static js lib r=glandium 2011-11-30 11:23:46 +08:00
Bobby Holley
185cf7a127 Bug 705019 - Allow access to {C,Pointer,Struct,Array,Function}Type.prototype.prototype. r=jorendorff 2011-11-29 18:29:19 -08:00
Bobby Holley
1c1b109a0d Bug 705019 - Make toSource() and toString() work on sCTypeProtoClass and sCDataProtoClass objects. r=jorendorff 2011-11-29 18:26:12 -08:00
Bobby Holley
80eb15cc4c Bug 705019 - Introduce CType::IsCTypeProto() and CData::isCDataProto(). r=jorendorff 2011-11-29 18:26:12 -08:00
Chris Leary
75098ca12a Bug 691299: Lower maximum quantifier. (r=dmandelin)
--HG--
extra : rebase_source : ea2cdc1664171309d60c02094913483e2af3a61a
2011-11-29 15:24:44 -08:00
Brian Hackett
46a2c296fd Only inline construction of 'this' for 'new' on singleton functions, bug 706110. r=billm 2011-11-29 13:26:37 -08:00
Chris Leary
8a790745e5 Bug 691797: Optimize RegExp.prototype.test with leading .*, take 2. (r=mrbkap,luke)
--HG--
extra : rebase_source : 49c190dc6dec6ab2a05fbbd1479135082a053690
2011-11-28 13:35:12 -08:00
Boris Zbarsky
a8e2aab4ff Bug 705280 - (2/2) Custom quickstub nsIDOMHTMLDocument.head and change nsIDOMHTMLDocument.body custom quickstub. r=mrbkap 2011-11-29 17:32:31 +01:00
Mounir Lamouri
76ffef891d Bug 705280 - (1/2) Quickstub nsIDOMHTMLDocument.head. r=mrbkap 2011-11-29 17:30:13 +01:00
Ryan VanderMeulen
0dabfc9090 Bug 517298 - Re-enable tests that had been skipped previously. r=bclary 2011-11-29 17:22:13 +01:00
Chris Leary
884975d7a4 Back out 9541ced017f7 -- performance didn't improve as expected. 2011-11-28 17:23:02 -08:00
David Mandelin
08a695225c Bug 684922 followup: fix test metadata to expect error
--HG--
extra : rebase_source : b9deb96721dc65822968fec49273010367f0e2ff
2011-11-28 16:59:05 -08:00
Alon Zakai
f41dd91898 Bug 705508 - Add printErr to JS console. r=cdleary 2011-11-28 16:49:34 -08:00
Ryan VanderMeulen
be7e576362 Bug 705401 - Remove the rest of TraceVis. r=dvander 2011-11-28 16:08:25 -08:00
David Mandelin
1cd86898f1 Bug 684922: avoid infinite recursion through GetCustomIterator, r=luke 2011-11-28 15:20:15 -08:00
Ryan VanderMeulen
3803fe8c25 Bug 524732 - Re-enable tests that had been skipped previously. r=bclary 2011-11-28 14:57:31 -08:00
Ryan VanderMeulen
1bc3807cee Bug 705356 - Remove JSOPTION_JIT and JSOPTION_PROFILING. r=dvander 2011-11-28 14:57:31 -08:00
Chris Leary
c15f99cdd5 Bug 691797: Optimize RegExp.prototype.test with leading .* (r=mrbkap)
--HG--
extra : rebase_source : 83c8bf66164a4f6f5895beeeb857179de280c241
2011-11-28 13:35:12 -08:00
Terrence Cole
d0ff732f1d Bug 699279 - Run GC_SHRINK collection cycle when under memory pressure; r=mrbkap
GC_SHRINK is a fairly new type of GC that does more aggressive cleanups than a
normal GC.  This patch makes the browser run the GC in this mode when under
memory pressure, or when the user pushes the Minimize Memory Usage button when
on the about:memory page.

--HG--
extra : rebase_source : abdd11ee5fa5eb0e3d58122d3d72e98328d47668
2011-11-09 18:14:11 -08:00
Rafael Ávila de Espíndola
c864603bb4 Bug 705466 - Use MOZ_CHECK_HEADERS to check for cpuid.h. r=ted.
--HG--
extra : rebase_source : ecd108d166017cbd64c5be459a76cb2522723dfb
2011-11-28 15:32:32 -05:00
Brendan Eich
051b43287f Bug 685321: detect closed-over variables conservatively, r=jorendorff 2011-11-28 11:57:10 -08:00
Jeff Walden
6bb514a193 Bug 701973 - Make callers pass the type of function body being parsed to Parser::functionBody, rather than inferring it from the current token. r=jorendorff
--HG--
extra : rebase_source : 6fe4c4dc4bcb0b7b44383da995934f2ff2383046
2011-11-12 01:38:24 -08:00
Jeff Walden
5f1b9c27c8 Bug 701973 - Make js::Parser::variables not depend on the current token, and extract TOK_CONST from TOK_VAR. r=jorendorff
--HG--
extra : rebase_source : f6825ae9b1780fd1ecb2bc7831e14639abaeb735
2011-11-11 19:23:25 -08:00
Jeff Walden
cd393d4729 Bug 701620 - Split up PNK_LC into PNK_STATEMENTLIST and PNK_XMLCURLYEXPR. r=jorendorff
--HG--
extra : rebase_source : 4d781725639c6c94da53fd33fcfcedf221634a35
2011-11-11 18:05:43 -08:00
Jeff Walden
809b0e1632 Bug 701620 - Rename PNK_DO to PNK_DOWHILE to make the meaning clearer. r=jorendorff
--HG--
extra : rebase_source : c3320c052e937a7700ed8c1dd2259c9c4b6f0b03
2011-11-06 07:51:39 -08:00
Jeff Walden
42f3b5aea9 Bug 701620 - Split parse nodes for the parenthesized heads of for loops into PNK_FORHEAD (for(;;) loops) and PNK_FORIN (for(var _ in _) loops) kinds. r=jorendorff
--HG--
extra : rebase_source : d98eeba2b14581aae589fd6e3eb12ba4220c1670
2011-11-05 12:43:39 -07:00
Jeff Walden
a5ae0de3a5 Bug 701620 - Use two different kinds for the + operator when used in unary and binary expressions, likewise for -. r=jorendorff
--HG--
extra : rebase_source : ae4b6490a658893b51a069ac40151ca63fff0055
2011-11-05 12:20:22 -07:00
Jeff Walden
9ab5176e9a Bug 701620 - Split default parse nodes into PNK_DEFAULT into PNK_DEFAULT (for default cases in switches) and PNK_DEFXMLNS (for those other uses). r=jorendorff
--HG--
extra : rebase_source : 795141b3c10ccc731a8690a1c91df6db441ed46c
2011-11-05 12:10:33 -07:00
Nicholas Nethercote
f102556f32 Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
Mounir Lamouri
92c5237e1f Backout 2040980c0792 (bug 705280) to investigate perf regression on dromaeo v8 deltablue. 2011-11-27 16:59:10 +01:00
Rafael Ávila de Espíndola
6bc4a658d3 Bug 705461 - Use MOZ_CHECK_HEADER(S) everywhere. r=neil. 2011-11-26 16:05:17 -05:00
Andrew Paprocki
81697e5d42 Bug 620452 - Always define sharpnum to prevent compiler error when JS_HAS_SHARP_VARS is undefined. r=mrbkap 2011-11-21 21:54:35 -05:00
Tom Schuster
9e076a4009 Bug 647628 - Remove SKIP_POP_AFTER_SET. r=bhackett
--HG--
extra : rebase_source : 1332f0176be3db638d112392b5265a12eeee5ec2
2011-11-26 18:52:27 +01:00
Tom Schuster
84ecf7a194 Bug 554691 - Remove dead js_RegisterCloseableIterator definiton from header file. r=Ms2ger
--HG--
extra : rebase_source : b8b5fe8b03ded91b37560d045d4fe5d2da7f7925
2011-11-26 18:51:06 +01:00
Marco Bonardo
c0f513d34c Merge mozilla-central to mozilla-inbound 2011-11-26 14:29:05 +01:00
Ms2ger
7ff45c8468 Bug 705320 - Use IDL for xpcIJSWeakReference.get; r=bholley 2011-11-26 11:32:03 +01:00
Ms2ger
8495f5a854 Bug 701467 - Remove JS_TRUE/JS_FALSE from xpconnect; r=bholley 2011-11-26 11:05:59 +01:00
Bobby Holley
d1ad4db663 Bug 692342 - Get rid of the large and unnecessary table-driven reflectability detector. r=mrbkap
The XPIDL machinery should never output an invalid configuration here, so all this checking is unnecessary. The only thing we have to watch out for is native types, which all get shoehorned into T_VOID. So let's make this a simple check.
2011-11-25 17:09:07 -08:00
Bobby Holley
ec85c212c8 Bug 692342 - Assert !IsArithmetic() rather than IsPointer(). r=mrbkap
JSval is the only different between the two, and we handle that above.
2011-11-25 17:09:07 -08:00
Bobby Holley
bcf35bd248 Bug 692342 - Coalesce cleanup flagging even further. r=mrbkap
This eliminates another pesky use of IsPointer().
2011-11-25 17:09:07 -08:00
Bobby Holley
79f084fc3d Bug 692342 - Assert against arrays of jsvals, since we don't handle them. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
826ccf22a4 Bug 692342 - Coalesce cleanup flagging within ConvertDependentParam. r=mrbkap
The only change in functionality here is that we flag for cleanup on 'inout' sized strings in addition to 'in' sized strings. I'm pretty sure we want that.
2011-11-25 17:09:07 -08:00
Bobby Holley
73b7409e9a Bug 692342 - Move some things below Do datum_type resolution in ConvertDependentParam. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
622f731967 Bug 692342 - Reorder in/out/inout handling in XPCWrappedNative parameter conversion. r=mrbkap
Apologies for the copy paste here. Fixing that will require some more serious re-architecting.
2011-11-25 17:09:07 -08:00
Bobby Holley
8d90d94448 Bug 692342 - Move a call to SetValNeedsCleanup() to an equivalent location. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
a47135d2be Bug 692342 - Remove check for !IsInterfacePointer(), given the code a few lines above. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
73596fc292 Bug 692342 - Reindentation from previous patch (no other changes). r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
b108b42814 Bug 692342 - Create a ConvertDependentParam(i) method to match ConvertIndependentParam(i) (modulo reindentation). r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
ec2f70ac87 Bug 692342 - Simplify cleanup code in ConvertIndependentParameter(). r=mrbkap
We're not dealing with dependent parameters here. So as far as I can tell, the only behavior change that this introduces is that we flag for cleanup on T_WCHAR_STR in addition to T_CHAR_STR. This seems like something we probably want.
2011-11-25 17:09:07 -08:00