Commit Graph

26123 Commits

Author SHA1 Message Date
Jeff Walden
1f0255090e 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
04598ac634 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
6c6258e659 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
9ea9755eee 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
982a02da7f Bug 705461 - Use MOZ_CHECK_HEADER(S) everywhere. r=neil. 2011-11-26 16:05:17 -05:00
Andrew Paprocki
f6f8772aed 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
62bb78ca2e Bug 647628 - Remove SKIP_POP_AFTER_SET. r=bhackett
--HG--
extra : rebase_source : 1332f0176be3db638d112392b5265a12eeee5ec2
2011-11-26 18:52:27 +01:00
Tom Schuster
748b8ffd30 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
9e88576a2d Merge mozilla-central to mozilla-inbound 2011-11-26 14:29:05 +01:00
Ms2ger
69f89f1bf7 Bug 705320 - Use IDL for xpcIJSWeakReference.get; r=bholley 2011-11-26 11:32:03 +01:00
Ms2ger
82e462084f Bug 701467 - Remove JS_TRUE/JS_FALSE from xpconnect; r=bholley 2011-11-26 11:05:59 +01:00
Bobby Holley
c972e11505 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
bd60d3bec1 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
e50c94594b 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
e651e33635 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
913bef7142 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
cfa9352217 Bug 692342 - Move some things below Do datum_type resolution in ConvertDependentParam. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
1c570b90b8 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
143f47b2ce Bug 692342 - Move a call to SetValNeedsCleanup() to an equivalent location. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
5a68ab0b1a 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
2af6e983bc Bug 692342 - Reindentation from previous patch (no other changes). r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley
389702f322 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
20149b3bf7 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
Bobby Holley
c93cd8301e Bug 692342 - Introduce deprecated_IsPointer() to handle the cases that are too mucky to figure out right now. r=mrbkap 2011-11-25 17:09:06 -08:00
Bobby Holley
d3ba9f6532 Bug 692342 - Remove the obviously superfluous uses of IsPointer(). r=mrbkap
These are the easy cases, which all fall into one or more of the following categories:
* A check-and-throw, followed by a switch whose default case also throws
* A check of IsPointer() &&-ed with or tightly enclosing a check that implies IsPointer()
* A check of something clearly enforced by the XPIDL compiler
2011-11-25 17:09:06 -08:00
Bobby Holley
356768725f Bug 692342 - Remove use of IsReference() within XPConnect. r=mrbkap
All we're doing is checking that various types aren't flagged as reference. But xpidl makes sure this doesn't happen, so we should just trust it instead.
2011-11-25 17:09:06 -08:00
Mounir Lamouri
1b8da3c31c Bug 705280 - Quickstub nsIDOMHTMLDocument.*. r=mrbkap
Currently not all methods of nsIDOMHTMLDocument were quickstubbed which means
some methods like document.head were excessivly slow (see bug report).
2011-11-26 01:24:08 +01:00
Makoto Kato
e999cc59bc Bug 655658 - NetUtil.readInputStreamToString should have aCharset argument as optional. r=sdwilsh, sr=bz 2011-11-25 11:23:41 +09:00
Tom Schuster
47118512ce Bug 602212 - Use error message from js.msg when CSP blocks a call to eval r=jorendorff 2011-11-24 19:39:02 +01:00
Tom Schuster
e64bc45f0a Bug 705168 - Followup to remove some references to the tracer in the methodjit r=dvander 2011-11-24 19:38:57 +01:00
Andrew McCreight
c1272e0158 Bug 668855, part 6: test weak maps and the cycle collector. r=gal 2011-11-24 07:35:57 -05:00
Andrew Paprocki
2fe783eea5 Bug 660747 - Reverting YARR begin characters optimization. r=dmandelin 2011-11-22 00:21:18 -05:00
Andrew McCreight
6c1273d231 Bug 653248 - Mark weak map values reachable only from XPCOM gray, not black. r=billm 2011-06-14 17:48:27 -07:00
Andrew McCreight
1e19f81390 Bug 668855, part 3: hook up CC to JS WeakMap callback. r=peterv 2011-11-24 07:35:56 -05:00
Andrew McCreight
8a8de0249a Bug 668855, part 1: add JS weak map tracing interface. r=billm 2011-11-24 07:35:56 -05:00
David Anderson
961177f5ab Initial removal in bug 698201 did not apply correctly (leftover r=dmandelin). 2011-11-23 09:50:56 -05:00
Andrew McCreight
33d43f5ad9 Bug 704207 - HeapValue::gcKind should return JSGCTraceKind. r=billm 2011-11-23 09:14:04 -05:00
Jeff Walden
df2b7cbc5c Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Jeff Walden
d2d9341b8a Bug 704127 - Move C++ attribute support out of mozilla/Types.h and into mozilla/Attributes.h so that it can be used by code that's not yet compatible with the full mfbt experience. r=cjones
--HG--
extra : rebase_source : 7b653358a73f222c055f5139e33ca470475f88c9
2011-11-20 12:22:51 -08:00
David Anderson
17e871eaeb Remove browser prefs for the tracer (bug 698201 part 7, r+sr=gal). 2011-11-22 17:41:43 -05:00
David Anderson
bd3e4935ce Remove tracer from XPConnect (bug 698201 part 6, r=bholley). 2011-11-22 17:41:43 -05:00
David Anderson
bac3c4eebc Remove LeaveTrace and related structures (bug 698201 part 5, r=luke). 2011-11-22 17:41:43 -05:00
David Anderson
66a9ff0dee Remove JS_TRACER define use (bug 698201 part 4, r=bhackett). 2011-11-22 17:41:42 -05:00
David Anderson
769e541f2e Remove traceable natives (bug 698201 part 3, r=luke). 2011-11-22 17:41:42 -05:00
David Anderson
3a29a772fe Remove imacros (bug 698201 part 2, r=luke). 2011-11-22 17:41:41 -05:00
David Anderson
7b1857059e Remove jstracer and nanojit (bug 698201 part 1, r=dmandelin). 2011-11-22 17:41:41 -05:00
Terrence Cole
185da85853 Bug 696232 - Clean up InitArrayElement's prototype; r=Waldo
We should pass the flag value as an enum and return bool, since this
is only used internally.
2011-11-08 14:54:57 -08:00
Terrence Cole
19a52d960c Bug 704510 - We should properly initialize gcNumFreeArenas; r=billm
This was missed when fixing bug 700357.
2011-11-22 10:50:23 -08:00
Benjamin Smedberg
6512ff85a3 Bug 429592 part whatever - disable the hang monitor during all tests which also disable the DOM script timeout, since the hang monitor relies on the DOM script timeout to avoid firing on long content script, r=jmaher
--HG--
extra : rebase_source : 9ab0290b869fdb6cfa63605383728a7edcbd54a1
2011-11-11 10:37:24 -05:00
Nicholas Nethercote
882791c0e6 Bug 703456 - Kill REPORT_BUILD; kill it dead. r=ted. 2011-11-21 18:47:54 -08:00