mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 1631929 - Have the destructor of CalcNode be never inline. r=dmajor
You tell me which other things need it... Copy-constructor? operator==? and such? Differential Revision: https://phabricator.services.mozilla.com/D73385
This commit is contained in:
parent
9ac909be70
commit
3f74138cd4
@ -60,6 +60,13 @@ pub enum SortKey {
|
||||
///
|
||||
/// FIXME: This would be much more elegant if we used `Self` in the types below,
|
||||
/// but we can't because of https://github.com/serde-rs/serde/issues/1565.
|
||||
///
|
||||
/// FIXME: The following annotations are to workaround an LLVM inlining bug, see
|
||||
/// bug 1631929.
|
||||
///
|
||||
/// cbindgen:destructor-attributes=MOZ_NEVER_INLINE
|
||||
/// cbindgen:copy-constructor-attributes=MOZ_NEVER_INLINE
|
||||
/// cbindgen:eq-attributes=MOZ_NEVER_INLINE
|
||||
#[repr(u8)]
|
||||
#[derive(
|
||||
Clone,
|
||||
|
Loading…
Reference in New Issue
Block a user