Nathan Froyd
536daacd4a
Bug 925879 - use JS_BITS_PER_WORD instead of JS_BYTES_PER_WORD in HashTable.h; r=njn
2013-10-15 10:11:03 -04:00
Shu-yu Guo
128b76beaa
Bug 903193 - Part 4: Add ability to do read only lookup on the Shape tree. (r=bhackett)
2013-10-08 15:14:03 -07:00
Douglas Crosher
e5a88dc385
Bug 923328 - Ionmonkey: fix float32 hash function. r=terrence
2013-10-03 10:11:18 +10:00
Jon Coppeard
1b245e7684
Bug 912567 - Split HashMap/HashSet::rekey() into rekey() and rekeyIfMoved() r=terrence
2013-09-24 10:03:32 +01:00
Birunthan Mohanathas
3f4f32b49a
Bug 784739 - Switch from NULL to nullptr in js/ductwork/, js/ipc/, and js/public/; r=ehsan
2013-09-19 15:24:53 -04:00
Justin Lebar
2e2403726d
Bug 909977 - Rename mozilla::Move to mozilla::OldMove, and make mozilla::Move a synonym for std::move(). r=waldo
...
--HG--
extra : rebase_source : 7b3bb02cc8cbc0ad6721c6c3895564d9567b8ddb
2013-08-29 11:54:14 -07:00
Jon Coppeard
8bab73cb34
Bug 906387 - Rehash hash tables if necessary when rekeying during minor GC r=terrence
2013-08-29 10:27:50 +01:00
Jon Coppeard
26d42248d9
Bug 726687 - Stop rekeying from calling pre barriers r=terrence
2013-02-15 17:59:19 +00:00
Ms2ger
6d567ab3cc
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Jeff Walden
6c81653318
Bug 891177 - Remove Vector.h's js/TemplateLib.h dependency by introducing mfbt/TemplateLib.h with the necessary bits. r=terrence
...
--HG--
extra : rebase_source : e84231171d6bd6c1e2de8201b8c9563375723d01
2013-07-08 12:42:13 -07:00
Jeff Walden
8a8be12d99
Bug 891177 - Move js::Swap to mozilla::Swap. r=terrence
...
--HG--
extra : rebase_source : 925bccd4fa3f95e1aa4e17d94ad5a443fc7a63aa
2013-07-03 15:57:33 -07:00
Jeff Walden
919f4b04c8
Bug 891177 - Add ReentrancyGuard.h as a helper class for asserting that use of a class is non-reentrant. r=terrence
...
--HG--
extra : rebase_source : 3751e523c0b0315697cb6e005dfd8ee625f6dd58
2013-07-02 17:47:08 -07:00
Jeff Walden
fe51d6bb86
Bug 891177 - Implement Move.h to define a move-construction interface. r=terrence
...
--HG--
extra : rebase_source : 45f9bb87fc0ee96ea35005ca0dcb263aa11745b8
2013-07-02 17:25:13 -07:00
Terrence Cole
b57778c83f
Bug 888117 - Properly barrier the JSON stringifier's CycleDetection set; r=billm
...
--HG--
extra : rebase_source : 9cd269cf38bacfb63cbceef5dec795da2c24750c
2013-06-27 18:12:54 -07:00
Jon Coppeard
ff4b38f917
Bug 878160 - GC: post barrier weak references in the browser - part 1 JS engine r=terrence
...
--HG--
extra : rebase_source : 4dfd4f8f46564d3a9858646a0f68c9047c2f7e93
2013-07-02 09:43:45 +01:00
Catalin Iacob
1544c37641
Bug 798914 (part 4) - Use newly introduced mozilla::MallocSizeOf in js. r=njn.
...
--HG--
extra : rebase_source : d1c063b94c7ec58729150cbea602bb4c9f2a0e24
2013-06-23 13:21:01 +02:00
Dan Gohman
9e49b5eb5f
Bug 885175 - DoubleHasher<double> fixes -- use a bitwise comparison to avoid considering zero and negative zero equal. r=luke
2013-06-20 11:55:41 -07:00
Emanuel Hoogeveen
73cb5d6b4d
Bug 883697 (part 1) - Make include guards consistent in js/ductwork/, js/ipc/ and js/public/. r=njn.
...
--HG--
extra : rebase_source : 34f5559ba6e64831905686e12356b70109d873a8
2013-06-19 17:59:09 -07:00
Terrence Cole
8cf88bc3ae
Bug 706885 - Implement generational GC for the SpiderMonkey interpreter; r=billm
2013-03-14 10:26:06 -07:00
Sean Stangl
3733f89aca
Bug 860029 - Standardize Modelines in the JS Module. r=njn
2013-04-16 13:47:10 -07:00
Phil Ringnalda
2607292fa5
Back out a5a1dd3bd8ae (bug 860029) for stupidorange
2013-04-15 12:55:38 -07:00
Sean Stangl
ab9b6329c4
Bug 860029 - Standardize Modelines in the JS Module. r=njn
2013-04-15 11:33:03 -07:00
Phil Ringnalda
045ce0a190
Back out 5bf9771e1a28 (bug 860029) for bustage
...
CLOSED TREE
2013-04-11 19:55:37 -07:00
Sean Stangl
fe2fb42954
Bug 860029 - Standardize Modelines in the JS Module. DONTBUILD. r=njn
2013-04-11 18:48:59 -07:00
Nathan Froyd
d9ce0f5c54
Bug 853646 - part 0a - remove js::StripConst and use mozilla::RemoveConst instead; r=Waldo
2013-04-03 11:24:11 -04:00
Jeff Walden
6dc883dea3
Bug 856850 - Implement a PodOperations.h header that includes all the Pod* functions currently in jsutil.h. r=Ms2ger
2013-04-01 22:43:19 -07:00
Terrence Cole
4059b2f9fd
Bug 854051 - Remove HashTable::clearWithoutCallingDestructors; r=billm
...
--HG--
extra : rebase_source : 6ae023e1dc878f33e823d80c8cd0a91950159d94
2013-03-25 11:48:26 -07:00
Jeff Walden
c74ffc6a1b
Bug 851237 - Replace StaticAssert uses with MOZ_STATIC_ASSERT. r=dholbert
...
--HG--
extra : rebase_source : d8b9715e05b959b11ee0f645141fd077b8599ab1
2013-03-21 18:26:15 -07:00
Jon Coppeard
b752526987
Bug 849273 - Investigate splitting the js and JS namespaces r=terrence
...
--HG--
extra : rebase_source : 2b131d0177f02e5f0e89398545481fcacbfde00f
2013-03-19 10:35:41 +00:00
Jeff Walden
21d4a821b2
Bug 835542 - Add an IntegralConstant helper to TypeTraits.h, and use it where the spec says we should be using it. r=bjacob
...
--HG--
extra : rebase_source : a1272a85489771ce1cbe5c3aaa678b5b04b49226
2012-12-16 18:20:17 -05:00
Terrence Cole
e42d1d2e11
Bug 844932 - HashTable rekey fixup does not guarantee !overloaded; r=sfink
...
--HG--
extra : rebase_source : e9354d0d3377f75c56cee8a0b2d6078fa9d9fbdb
2013-02-25 10:37:36 -08:00
Luke Wagner
c28cc714bf
Bug 845458 - IonMonkey: simplify constant double handling on x86 (r=dvander)
2013-02-26 19:56:30 -05:00
Jan de Mooij
33b89c2e79
Bug 844893 - Don't assert when two threads call getVMWrapper at the same time. r=luke
2013-02-26 13:49:44 +01:00
L. David Baron
c0b261e3e4
Bug 563195: Fix -Wshadow warnings in public JS API headers (those used from layout/style/). r=njn
2013-02-17 22:56:32 -08:00
Nicholas Nethercote
9fe308c74c
Bug 840809 (part 1) - Fix a comment and rename a constant in HashTable.h. r=luke.
...
--HG--
rename : content/svg/content/src/SVGComponentTransferFunctionElement.h => content/svg/content/src/nsSVGFilters.cpp
extra : rebase_source : 98370c5137aa67a3f2cedb7fc81668bb80b559bb
2013-02-14 11:11:15 -08:00
Terrence Cole
b463fd6507
Bug 839673 - Do not access the ArenaHeader of already-finalized GCThings; r=luke
2013-02-12 17:48:10 -08:00
Terrence Cole
ae3a10829b
Back out changeset 0d285589f47a (Bug 839673) - Broken Merge
2013-02-13 11:04:25 -08:00
Terrence Cole
884dec5816
Bug 839673 - Do not access the ArenaHeader of already-finalized GCThings; r=luke
...
--HG--
extra : rebase_source : 8880f66b823b58b8d723fbf2bca4848cc1173ce9
2013-02-12 17:48:10 -08:00
Jeff Walden
15f60ef632
Rename the |static const bool result| member of IsSame, IsPod, and IsPointer to |value| to be consistent with every other type trait. I have no idea how I managed to consistently not notice this during review. Followup to bug 723228, r=typo
2013-02-08 22:59:54 -08:00
Razvan Cojocaru
15c13f8d76
Bug 723228 - nsTArray::AssignRange should use memcpy when possible. r=jlebar for the XPCOM changes, r=jwalden for js/mfbt changes
...
--HG--
extra : rebase_source : 2442a0d29ae0fa7edd0312d980cbc270a4f33134
2013-02-08 13:18:49 -08:00
Luke Wagner
b0f73dd733
Bug 832090 - make HashMap/Set movable (r=terrence)
...
--HG--
extra : rebase_source : 7c6a7a0d03bf361f2ee7c853f7f07bf15841b21b
2012-11-28 15:19:39 -08:00
Justin Lebar
537bde4ae4
Bug 826951 - Compact hashtables if they're underloaded, instead of shrinking them by a factor of 2. r=luke
2013-01-08 11:04:19 +01:00
Justin Lebar
bc2b60094e
Bug 827238 - Fix an out-of-date comment in js/public/HashTable.h r=luke
2013-01-08 11:04:19 +01:00
Terrence Cole
b680b1170a
Bug 826435 - Do not allow poisoned pointers near a HashTable; r=sfink
...
The rooting analysis depends on all usage of a poisoned pointer to crash. This
patch makes the above usage crash, as required.
--HG--
extra : rebase_source : 3d67e4c44cee91d889edbf6641cebe9887fb10ee
2013-01-03 17:01:38 -08:00
Jeff Walden
7146c23e80
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Luke Wagner
da2499ccc0
Bug 810192 - don't require a default constructor for Hash{Map,Set}; only construct objects for live elements (r=terrence)
2012-11-12 15:30:39 -08:00
Terrence Cole
ab0d85ee35
Bug 807151 - Unexport |mozilla| from the |js| namespace; r=Waldo
...
Clang does not want to allow js::ion::Range and mozilla::Range simultaneously
when we have a |namespace js { using namespace mozilla; }| declaration.
2012-11-06 17:35:18 -08:00
Nicholas Nethercote
0a7dd0f914
Bug 800481 - Remove unnecessary second arg from HashTable::hash{1,2}. r=luke.
2012-10-11 16:36:29 -07:00
Jeff Walden
736d91284b
Use MOZ_DELETE on the copy/assignment operators for various hash classes. No bug, r=lumpy
...
--HG--
extra : rebase_source : f9fb08566c17f62c189b1469e3730554b6fbe1ce
2012-09-10 13:27:04 -07:00
Jeff Walden
f7d62e2bcd
Tweak an assertion in HashTable.h to use initialized() rather than !null, for clarity. No bug, r=sparky
...
--HG--
extra : rebase_source : a6110712d528e52323293cdbff4b171c5fda6401
2012-09-10 13:17:55 -07:00