diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-07-26 17:31:40 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-07-30 12:51:35 +0200 |
commit | bc5208f7357bfe8e466890a4c856a642cc16920f (patch) | |
tree | cbc6f17418d942a80ef54a35acb212c4c9e6b263 /gcc/builtins.c | |
parent | b2abe4e1aded1409964b870899d18dfdb6384821 (diff) | |
download | gcc-bc5208f7357bfe8e466890a4c856a642cc16920f.zip gcc-bc5208f7357bfe8e466890a4c856a642cc16920f.tar.gz gcc-bc5208f7357bfe8e466890a4c856a642cc16920f.tar.bz2 |
d: Use hasMonitor to determine whether to emit a __monitor field in D classes
This helper introduced by the front-end is a better gate, and allows the
front-end to change rules for what gets a monitor in the future.
gcc/d/ChangeLog:
* types.cc (layout_aggregate_type): Call hasMonitor.
* typeinfo.cc (TypeInfoVisitor::layout_base): Likewise.
(layout_cpp_typeinfo): Likewise. Don't emit vtable unless
have_typeinfo_p.
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions