Commit Graph

39 Commits

Author SHA1 Message Date
Sylvestre Ledru
a1dce6440a Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D28329

--HG--
extra : moz-landing-system : lando
2019-04-22 16:35:03 +00:00
Yoshi Cheng-Hao Huang
1f64fc3823 Bug 1522061 - Part 2: implement isCCTraceKind with JS_FOR_EACH_TRACEKIND. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D27068
2019-04-15 10:22:38 +08:00
Yoshi Cheng-Hao Huang
714d7e04c5 Bug 1522061 - Part 1: rename to TraceKindCanBeGray. r=jonco
TypeParticipatesInCC is confusing, as this function is used to tell if a
TraceKind can be marked gray.

Differential Revision: https://phabricator.services.mozilla.com/D27067
2019-04-15 10:22:30 +08:00
Dorel Luca
0471f46dd2 Backed out changeset 29b1d70e8032 (bug 1534430) for build bustage. CLOSED TREE 2019-03-12 04:00:31 +02:00
Steve Fink
104c0bd83d Bug 1534430 - Pointer types should default to RootKind::Traceable unless a more specific RootKind has been set via MapTypeToTraceKind r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D23040

--HG--
extra : moz-landing-system : lando
2019-03-12 00:46:17 +00:00
Andy Wingo
7d559ef8c3 Bug 1527860 - Remove ENABLE_BIGINT #ifdef r=jandem,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D19766

--HG--
extra : moz-landing-system : lando
2019-02-14 15:03:44 +00:00
Jon Coppeard
510569c075 Bug 1526375 - Replace DispatchTaceKindTyped for cell pointers with another version of MapGCThingTyped and use this where possible r=sfink 2019-02-09 08:29:51 +00:00
Jon Coppeard
6e15e4b1f3 Bug 1525663 - Use return type deduction to remove complex decltype expressions r=sfink 2019-02-08 10:34:02 +00:00
Ehsan Akhgari
e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Margareta Eliza Balazs
502c1c64cb Backout 2c48655b33ca (Bug 1510607) for causing regression in Bug 1513471, requested by allstars.chh 2018-12-12 18:24:47 +02:00
Sylvestre Ledru
ad75e912fb Bug 1512961 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D14060

--HG--
extra : moz-landing-system : lando
2018-12-10 19:23:16 +00:00
Yoshi Huang
4495599540 Bug 1510607 - Implement JS::IsCCTraceKind using the JS_FOR_EACH_TRACEKIND data. r=jonco
To use the data inside JS_FOR_EACH_TRACEKIND, so we could have a unified source
of data to decide whether CC should care about this Trackind.
2018-12-06 10:04:03 -05:00
Tooru Fujisawa
7983faeb5d Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
Benjamin Bouvier
a7f1d173a0 Bug 1511383: Update vim modelines after clang-format; r=sylvestre
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)

--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01:00
Sylvestre Ledru
265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Yoshi Huang
f2e1d9efb3 Bug 1478533 - Add a static_assert for WeakMap. r=jonco, mccr8
If an object is used as a WeakMap key, its TraceKind should be added
into CC graph, so adding a static_assert to make sure this.
2018-11-16 10:58:34 +01:00
Emilio Cobos Álvarez
1e9c395548 Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj
Same approach as the other bug, mostly replacing automatically by removing
'using mozilla::Forward;' and then:

  s/mozilla::Forward/std::forward/
  s/Forward</std::forward</

The only file that required manual fixup was TestTreeTraversal.cpp, which had
a class called TestNodeForward with template parameters :)

MozReview-Commit-ID: A88qFG5AccP
2018-06-02 09:33:26 +02:00
Robin Templeton
de41c625dd Bug 1366287 - Part 1.0: Define a new BigInt primitive type, with a GDB prettyprinter, Rust binding support, and a new out-of-line TraceKind. (Disabled by default, implemented only incompletely, currently passing --enable-bigint will disable JITs, will be flipped on Eventually once every sub-aspect is in place, Don't Have A Cow, Man.) r=jwalden, r=Ms2ger, r=sfink
--HG--
extra : rebase_source : aa13bd94bc6157ff8134894e3ba2e7a2b53e28d9
2018-05-24 11:26:09 -07:00
Paul Bone
debeadacaa Bug 1430703 - Fix some too-loose static assertions r=cduan
--HG--
extra : rebase_source : 9a5b7de473290dc8d8578406513a9f002434b274
extra : histedit_source : cd563024fa007e3f40f108cd7d2339946bb40ec6
2017-12-13 11:31:39 +11:00
Jason Orendorff
3b36ad843d Bug 1363200 - JSAPI for realms: Add JS::Realm opaque type and GC rooting policy for it. r=sfink
--HG--
extra : rebase_source : 383cf50c2457dcda9e2c779cafbc62052b12a6a9
2017-06-29 09:57:46 -07:00
Jon Coppeard
973692b373 Bug 1345177 - Make RegExpShared a GC thing r=sfink 2017-03-27 10:38:29 +01:00
Jon Coppeard
1376c2700e Backed out changesets e66f564d9749 and 0380d914ad39 (bug 1345177) for rooting hazards 2017-03-27 11:09:54 +01:00
Jon Coppeard
f7a6438226 Bug 1345177 - Make RegExpShared a GC thing r=sfink 2017-03-27 10:38:29 +01:00
Jan de Mooij
158805801d Bug 1325075 - Fix Value::isGCThing footgun, stop returning true for NullValue. r=jonco,baku 2016-12-26 16:40:21 +01:00
Makoto Kato
48a2c42b58 Bug 1310067 - VS2017 doesn't require JS_DEPENDENT_TEMPLATE_HINT workaround. r=jonco
MozReview-Commit-ID: DuDDyP6tpc8
2016-11-21 11:14:44 +09:00
Iris Hsiao
defb095265 Backed out changeset e5164f497e42 (bug 1310067) for bustage
CLOSED TREE
2016-11-21 11:14:16 +08:00
Makoto Kato
0b47186ed3 Bug 1310067 - VS2017 doesn't require JS_DEPENDENT_TEMPLATE_HINT workaround. r=jonco
MozReview-Commit-ID: DuDDyP6tpc8

--HG--
extra : rebase_source : b503bdb2ce19f5bd87fcb0c114765e5a5de1c35d
2016-11-21 11:14:44 +09:00
Shu-yu Guo
e2b6833e0a Bug 1263355 - Rewrite the frontend: bindings. (r=jorendorff,Waldo) 2016-08-25 01:28:47 -07:00
Jon Coppeard
3d8e7a7e44 Bug 1273908 - Refactor GC to make it easier to add new kinds of GC thing r=terrence 2016-05-19 10:12:54 +01:00
Steve Fink
8916274a41 Bug 1251480 - Use Rooted<UniquePtr<StateData>> in place of StateData::CustomAutoRooter, r=bz
--HG--
extra : rebase_source : c68dedf2cdfe1e6fda4941cd1b3c52a20f6b7ffe
2016-02-26 18:16:17 -08:00
Steve Fink
ffcba27ec8 Bug 1251480 - Implement Rooted<UniquePtr<T>>, r=terrence
--HG--
extra : rebase_source : 26962432d56d40f42e89b90e7585037d90ce4b68
2016-02-26 11:56:29 -08:00
Terrence Cole
309f950dae Bug 1243888 - Derive RootKind automatically from TraceKind; r=sfink
--HG--
extra : rebase_source : 4ea174eb95c36ac1452baa0ed44b4c99ff517d9e
2016-01-27 09:54:53 -08:00
Terrence Cole
9f3728184b Bug 1205454 - Consolidate the tagged pointer marking methods; r=sfink
--HG--
extra : rebase_source : 18d7fe3f1f7d652e07c18a6e40b1b88f0e36cef0
2015-09-17 10:57:55 -07:00
David Major
64e642cb39 Bug 1193459: Fix JS_DEPENDENT_TEMPLATE_HINT for clang-cl. r=jimb
--HG--
extra : rebase_source : 47c8c4d88946dfcbd5484b5ea7ebcb66c2c27537
2015-08-12 13:25:40 -04:00
Terrence Cole
5d9fc3d582 Bug 1186626 - Part 5: Remove AutoShapeVector; r=sfink
--HG--
extra : rebase_source : 3260e796aec30d06853d77df0071834d8d697aa7
2015-07-23 08:19:08 -07:00
Jim Blandy
4e8fc0bdcb Bug 1180017 - Give GCCellPtr is<T> and to<T> methods, replacing isFoo and toFoo methods. Fix callers. r=terrence 2015-07-03 15:06:23 -07:00
Carsten "Tomcat" Book
25a2a75a56 Backed out changeset 465793bc6fcf (bug 1180017) for suspicion of causing bug 1188799 2015-07-29 15:27:12 +02:00
Jim Blandy
ff7cc06ef6 Bug 1180017: Give GCCellPtr is<T> and as<T> methods, replacing isFoo and toFoo methods. Fix callers. r=terrence
--HG--
extra : rebase_source : 4a381c5d8427ad2995426e65c69af1597b1557c2
2015-07-07 09:52:01 -07:00
Terrence Cole
7afa7dfb04 Bug 1173889 - Strongly type the CallbackTracer dispatch function; r=jonco, r=mccr8
--HG--
extra : rebase_source : 413319f0701f8e92b8fc1c79a51f4a09c2c5cd39
2015-06-11 10:03:33 -07:00