Commit Graph

203 Commits

Author SHA1 Message Date
Jon Coppeard
c7b0c50a08 Bug 1165966 - Update destructor assertions to handle failed initalization r=terrence
* * *
Bug 1165966 - Fix bustage due to single argument constructor not being marked explicit r=me
2015-05-20 17:30:34 +01:00
Terrence Cole
3ffd505617 Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink 2015-05-13 14:07:34 -07:00
Andrew McCreight
91cf0acf4b Bug 1164042 - Log weak map entries in DumpHeapComplete. r=terrence 2015-05-15 10:33:08 -07:00
Tom Schuster
b07f159635 Bug 1055473 - Make WeakMap/Set.prototype a plain object. r=Waldo 2015-05-08 23:27:50 +02:00
Florian Scholz
91ff1c8d27 Bug 1153825 - Fix length properties of (Weak){Map,Set} constructors; r=evilpie 2015-05-01 12:32:53 +02:00
Jan de Mooij
960e7c935d Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett 2015-04-23 15:51:28 +02:00
Terrence Cole
266d818bdd Bug 1149352 - Part 8: Move Object marking to TraceEdge; r=jonco 2015-03-30 16:08:06 -07:00
Jan de Mooij
75afa21431 Bug 1144366 followup - Stop declaring multiple pointers on a single line. r=jorendorff 2015-04-02 11:22:21 +02:00
Jan de Mooij
c6596c5fa8 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 23:22:11 +01:00
Phil Ringnalda
1a1c158706 Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij
369ef1b850 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 12:08:37 +01:00
Brian Hackett
6d9f789b99 Bug 1143256 - Store object metadata using a weak map, r=luke. 2015-03-25 09:07:51 -07:00
Terrence Cole
654fac3ac0 Bug 1135985 - Split callback and marking tracers completely; r=jonco, r=mccr8 2015-02-25 13:11:37 -08:00
Ryan VanderMeulen
f274f35656 Backed out changeset d3c9b899f7d2 (bug 1143256) for frequent browser_perf-refresh.js leaks. 2015-03-20 16:07:42 -04:00
Brian Hackett
6ff7784fe1 Bug 1143256 - Store object metadata using a weak map, r=luke. 2015-03-20 06:33:33 -07:00
Terrence Cole
ffe09bf0a2 Bug 1144331 - Assert that gray buffering does not depend on isMarking; r=jonco, a=RyanVM 2015-03-18 10:48:36 -07:00
Benjamin Bouvier
a556eabf6a Bug 1140317: and even more using mozilla::UniquePtr in a CLOSED TREE; r=bustage 2015-03-11 17:47:45 +01:00
Benjamin Bouvier
ffa763022c Bug 1140317: Make sure chars created by DecompileValueGenerator won't ever leak; r=Waldo 2015-03-10 19:34:00 +01:00
Steve Fink
b853382044 Bug 1137336 - Explicitly disallow WeakMapTracer.callback from GCing, r=terrence 2015-03-02 10:25:16 -08:00
Jan de Mooij
b3f1ff13a2 Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE 2015-02-27 16:08:15 +01:00
ziyunfei
445a3b1783 Bug 1120170 - part 1 - Change JSMSG_NOT_NONNULL_OBJECT message to accept an argument. r=till 2015-02-22 07:21:00 +01:00
Andrew McCreight
2159e95a19 Bug 1127827, part 3 - Weak map get should always return undefined on failure to find the key. r=Waldo,jgraham 2015-02-18 15:40:52 -08:00
Andrew McCreight
bdf455842b Bug 1127827, part 2 - Treat missing arguments to weakmap methods as undefined. r=Waldo
Plus add a few tests for various things.
2015-02-18 15:40:52 -08:00
Andrew McCreight
af8170cd06 Bug 1127827, part 1 - WeakMap.get, has and delete should not throw when the key arg is not an object. r=Waldo
Plus add tests for this, plus the return values of some other WeakMap functions.
2015-02-18 15:40:52 -08:00
Tooru Fujisawa
5acf337ec2 Bug 1108930 - Part 7: Warn when Map/Set/WeakMap are called without new. r=evilpie 2015-02-05 00:59:16 +09:00
Jason Orendorff
3e0e414743 Bug 1112778, part 7 - Rename JSObject::{get,set}Generic etc. -> js::{Get,Set}Property and add a few comments. r=Waldo. 2014-12-18 08:35:42 -06:00
Jason Orendorff
ddde8586c6 Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett. 2014-11-22 12:23:39 -06:00
Jason Orendorff
6c66fe3b7e Bug 1103152 - Remove JS_DeletePropertyStub, JS_EnumerateStub, JS_ResolveStub, and JS_ConvertStub. Make five mandatory JSClass hooks optional (nullable). r=bhackett. 2014-12-02 16:56:35 -06:00
Terrence Cole
3851b20cc1 Bug 1107349 - Always build in enerational GC support; r=jonco 2014-12-04 09:45:05 -08:00
Tooru Fujisawa
5cf7949930 Bug 804279 - Part3: Support monkey-patched/overridden adder in WeakMap constructor. r=evilpie 2014-12-01 17:02:15 +09:00
Phil Ringnalda
4dc560812f Backed out 5 changesets (bug 804279) for build bustage
CLOSED TREE

Backed out changeset 6717479ac35a (bug 804279)
Backed out changeset d74f36957303 (bug 804279)
Backed out changeset 7dcbacf3d659 (bug 804279)
Backed out changeset a0ff17c6cdec (bug 804279)
Backed out changeset 00fc0c2dc111 (bug 804279)
2014-12-04 21:22:20 -08:00
Tooru Fujisawa
d608ee6a6d Bug 804279 - Part3: Support monkey-patched/overridden adder in WeakMap constructor. r=evilpie 2014-12-01 17:02:15 +09:00
Tooru Fujisawa
9ff2510008 Bug 1092538 - Ignore null iterable in Map, Set, WeakMap and WeakSet constructors. r=evilpie 2014-11-29 20:57:27 +09:00
Tooru Fujisawa
cb4f496694 Bug 1092537 - Handle optional iterable argument in WeakMap constructor. r=evilpie 2014-11-04 00:23:38 +09:00
Steve Fink
f9c90a3a36 Bug 1088307 - Pull out WeakMap unbarriering to a single location, r=terrence 2014-10-27 14:11:31 -07:00
Jim Blandy
f56bed2fe1 Bug 1075591: Make js::gc::TenuredCell::asTenured return a TenuredCell &, not a TenuredCell *. r=terrence 2014-10-02 10:19:11 +01:00
Nicolas B. Pierron
9d5a7dcd11 Bug 1074911 - Replace JS_ASSERT_IF by MOZ_ASSERT_IF. r=jorendorff
Apply the following script

sed -i '
   /JS_ASSERT_IF(/ {
     s/JS_ASSERT_IF(/MOZ_ASSERT_IF(/;
     :b;
     s/ \\$/\\/;
     /;/ { p; d; };
     n;
     s/^/ /;
     b b;
  };
  s/JS_ASSERT_IF (/MOZ_ASSERT_IF(/;
'
2014-10-01 19:17:53 +02:00
Nicolas B. Pierron
cb753ff627 Bug 1074911 - Replace JS_ASSERT by MOZ_ASSERT. r=jorendorff
Apply the following script

sed -i '
   /JS_ASSERT(/ {
     s/JS_ASSERT(/MOZ_ASSERT(/;
     :b;
     s/ \\$/\\/;
     /;/ { p; d; };
     n;
     s/^/ /;
     b b;
  };
  s/JS_ASSERT (/MOZ_ASSERT(/;
'

Except where the JS_ASSERT macro does not end with a semi-colon, where empty
lines are in the middle of the macro, and where the backslahes are always the
same-length after the expression.
2014-10-01 19:17:51 +02:00
Till Schneidereit
ebd2949f9f Bug 1067459 - Only install a small subset of the standard builtins in the self-hosting global. r=jorendorff 2014-09-16 10:01:09 -04:00
Jon Coppeard
b9a220b3aa Bug 650161 - Fix shell test failures caused by compacting GC r=terrence 2014-09-17 15:35:11 +01:00
Terrence Cole
020442a721 Bug 1068223 - Clean up the Cell hierarchy; r=jonco 2014-09-17 10:32:37 -07:00
Ed Morley
586ab22d84 Backed out changeset 6f0a56999e9b (bug 650161) 2014-09-17 17:33:58 +01:00
Jon Coppeard
af6380aaa3 Bug 650161 - Fix shell test failures caused by compacting GC r=terrence 2014-09-17 15:35:11 +01:00
Dan Gohman
93d8752bd9 Bug 1054334 - SpiderMonkey: Use static and internal name linkage for more symbols r=nbp 2014-08-18 12:20:41 -07:00
Jon Coppeard
dfe7b7bd5d Bug 650161 - Fix test failures with compacting GC enabled r=terrence 2014-08-14 11:52:33 +01:00
Ed Morley
026a84a9ba Backed out changeset 8d1e96d1eb31 (bug 650161) 2014-08-14 12:52:27 +01:00
Jon Coppeard
3276eba0ce Bug 650161 - Fix test failures with compacting GC enabled r=terrence 2014-08-14 11:52:33 +01:00
Terrence Cole
86c8e4f12a Bug 1024250; r=billm 2014-07-28 10:16:56 -07:00
Rishab Arora
4bbaeb1a1a Bug 1031632 - Make Map.prototype.set, WeakMap.prototype.set and Set.prototype.add chainable. r=till 2014-07-03 22:55:26 +05:30
Jason Orendorff
a8d40db657 Bug 645416, part 4 - Rename DefinePropertiesAndBrand -> DefinePropertiesAndFunctions. r=bhackett. 2014-06-23 10:55:52 -05:00