Commit Graph

186 Commits

Author SHA1 Message Date
Jon Coppeard
48dadf1863 Bug 1352430 - Add barrier to wrapper cache to clear dying objects that have not yet been finalized r=bz r=sfink
* * *
Code review followup
2017-04-26 11:18:39 +01:00
Michael Layzell
e0cc988204 Bug 1331434 - Part 2: Add MOZ_MAY_CALL_AFTER_MUST_RETURN and MOZ_MUST_RETURN_FROM_CALLER annotations, r=ehsan
MozReview-Commit-ID: 1o2egvdhkqT
2017-03-07 19:06:48 -05:00
Jon Coppeard
84d08ee0ab Bug 1338623 - Add a slower but more exact gray marking check for checking correctness r=sfink r=mccr8 2017-03-02 10:22:47 +00:00
Jon Coppeard
1508ed6b0f Bug 1325406 - Refactor rooting base class templates r=sfink r=mccr8 2017-01-10 10:12:14 +00:00
Tom Schuster
bf4181fa5b Bug 1325927 - Reorder JSValueTag to match JSValueType. r=jandem 2016-12-27 13:31:07 +01:00
Jan de Mooij
ad35ff3340 Bug 1325075 - Fix Value::isGCThing footgun, stop returning true for NullValue. r=jonco,baku 2016-12-26 16:40:21 +01:00
Ms2ger
c34df5dd3d Bug 1319831 - Clarify some code with explicit casts; r=Waldo 2016-12-01 09:23:21 +01:00
Tooru Fujisawa
cb4823bf22 Bug 1311088 - Part 3: Do not check NaN in NumberValue(uint32_t i). r=jwalden 2016-10-29 01:47:31 +09:00
Tooru Fujisawa
dad3cdd7b4 Bug 1311088 - Part 2: Add JS::IsCanonicalized and remove JS::Value::setDoubleNoCheck. r=jwalden 2016-10-29 01:47:31 +09:00
Tooru Fujisawa
9f9b227576 Bug 1311088 - Part 1: Add mozilla::SpecificNaNBits and JS::detail::CanonicalizedNaNBits. r=jwalden 2016-10-29 01:47:30 +09:00
Tooru Fujisawa
b82ee7bb87 Bug 1312488 - Assign whole layout instead of layout.asDouble in JS::Value::setDoubleNoCheck. r=jandem 2016-10-27 22:57:40 +09:00
Tooru Fujisawa
6e974f57a3 Bug 1243617 - Part 2: Remove JS_VALUE_IS_CONSTEXPR. r=jwalden 2016-10-23 01:46:36 +09:00
Tooru Fujisawa
9a96287ee6 Bug 1243617 - Part 1: Add constructor for JS::Value::layout. r=jwalden 2016-10-23 01:46:36 +09:00
Tooru Fujisawa
7a0624666c Bug 1304191 - Part 11: Fold jsval_layout into JS::Value. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa
9498e5cb9d Bug 1304191 - Part 10: Remove JSVAL_TO_IMPL and IMPL_TO_JSVAL. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa
53eb0abc4c Bug 1304191 - Part 9: Add Value::fromDouble and use it in CanonicalizedDoubleValue. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa
ba191bdea1 Bug 1304191 - Part 8.1: Remove JS::Value::setUnmarkedPtr and JS::Value::toUnmarkedPtr. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa
e07300cb28 Bug 1304191 - Part 8: Stop using jsval_layout in JIT. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa
388e7468e8 Bug 1304191 - Part 7: Move JSVAL_EXTRACT_NON_DOUBLE_TYPE_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa
78129f8202 Bug 1304191 - Part 6: Move JSVAL_TO_*_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa
fa32299a07 Bug 1304191 - Part 5.1: Always use JS::Value::toTag() to get tag in JS::Value::traceKind. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa
6f45e8edbf Bug 1304191 - Part 5: Move JSVAL_TRACE_KIND_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa
719e9dbe25 Bug 1304191 - Part 4: Move JSVAL_SAME_TYPE_IMPL into SameType. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa
62028baf07 Bug 1304191 - Part 3: Move *_TO_JSVAL_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:45:59 +09:00
Tooru Fujisawa
26ce33a461 Bug 1304191 - Part 2: Move JSVAL_IS_*_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:45:59 +09:00
Tooru Fujisawa
05d5886f98 Bug 1304191 - Part 1: Change BUILD_JSVAL to JS::Value::fromRawBits and JS::Value::fromTagAndPayload. r=jwalden 2016-10-18 16:45:59 +09:00
Tooru Fujisawa
c1ef02d96e Bug 1290337 - Part 23: Use alignas and MOZ_NON_PARAM attribute for jsval_layout. r=jwalden 2016-09-11 18:23:11 +09:00
Tooru Fujisawa
8b653a29c0 Bug 1290337 - Part 21: Use const reference in BarrierMethods::exposeToJS. r=sfink 2016-10-18 16:45:57 +09:00
Mike Hommey
1d56605f1e Bug 1287671 - Replace IS_{LITTLE|BIG}_ENDIAN with MOZ_{LITTLE|BIG}_ENDIAN in js/. r=njn 2016-10-04 15:31:45 +09:00
Iris Hsiao
0491217c83 Backed out changeset 1c4f0a3784f1 (bug 1287671) for jit-test bustages
CLOSED TREE
2016-10-04 17:05:04 +08:00
Mike Hommey
86089809ec Bug 1287671 - Replace IS_{LITTLE|BIG}_ENDIAN with MOZ_{LITTLE|BIG}_ENDIAN in js/. r=njn 2016-10-04 15:31:45 +09:00
Terrence Cole
ed32b698b3 Bug 1297558 - Use a read barrier on Heap to ExposeToActiveJS r=sfink r=mccr8 2016-02-07 09:08:55 -08:00
Tooru Fujisawa
82f13f30bb Bug 1290337 - Part 8: Use const reference in VoidDefaultAdaptor and BoolDefaultAdaptor. r=terrence 2016-09-11 18:15:23 +09:00
Tooru Fujisawa
bfb2734f9d Bug 1290337 - Part 3: Replace Value parameter to const Value& in simple case. r=shu 2016-09-11 18:15:22 +09:00
Tooru Fujisawa
0f4f8575bf Bug 1290337 - Part 2: Replace jsval_layout parameter to const jsval_layout&. r=evilpie 2016-09-11 18:15:21 +09:00
Terrence Cole
6b955dab60 Bug 1237058 - Nursery allocate cross-compartment wrappers; r=jonco,r=terrence 2016-04-04 11:50:12 -07:00
Dan Gohman
1d21e7bdd2 Bug 1293313 - IonMonkey: Handle non-canonical NaNs in constant folding. r=luke 2016-08-09 15:35:55 -07:00
Chris Peterson
c35faf4632 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Terrence Cole
a7b0038c40 Bug 1284977 - Use a properly aligned poison value; r=jandem 2016-07-07 08:58:30 -07:00
Jan de Mooij
25c7b09b45 Bug 1272598 part 3 - Remove JS_OVERWRITTEN_CALLEE. r=luke 2016-06-11 15:00:51 +02:00
Nathan Froyd
69ca9dca2f Bug 1277867 - use uintptr_t more consistently in Value.h; r=luke
While the casts being changed in this patch are correct as they are,
other functions near these use uintptr_t.  For consistency's sake, it
seems better to use uintptr_t everywhere.
2016-06-06 17:01:40 -04:00
Terrence Cole
91ff8ad5b3 Bug 1275634 - Drop workarounds for SunPro and XLC now that they support typed enums; r=sfink 2016-05-26 13:52:06 -07:00
Terrence Cole
005e12a18b Bug 1275082 - Add missing ValueOperations private accessors; r=sfink 2016-05-23 13:17:12 -07:00
Shu-yu Guo
0c817ecf96 Bug 1268805 - Implement PrivateGCThingValue. (r=terrence) 2016-04-29 18:10:07 -07:00
Sebastian Hengst
0467658ce8 Backed out 2 changesets (bug 1268805) for build bustage. r=backout on a CLOSED TREE
Backed out changeset b8a517eb7c6b (bug 1268805)
Backed out changeset 31075a760b2e (bug 1268805)
2016-04-30 00:52:59 +02:00
Shu-yu Guo
bf93199766 Bug 1268805 - Followup: fix typo on a CLOSED TREE. (r=me) 2016-04-29 15:27:54 -07:00
Shu-yu Guo
d297719d93 Bug 1268805 - Implement PrivateGCThingValue. (r=terrence) 2016-04-29 15:12:13 -07:00
Terrence Cole
315ff1f2c2 Bug 1267699 - Move some public types to the right namespace; r=sfink 2016-04-26 09:18:48 -07:00
Kit Cambridge
18016a2ec4 Bug 1256488 - Add explicit casts to fix MSVC warning C4365. r=fitzgen
MozReview-Commit-ID: HuVL7COgcX7
2016-04-18 17:29:43 -07:00
Steve Fink
457aed81e0 Bug 1246804 - Switch to using in-source annotations. Use C++ inheritance information when describing GC types. Add a test suite., r=terrence
MozReview-Commit-ID: HCcG2k8Wyb9
2015-09-29 13:39:33 -07:00