mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Have the destructor of CalcNode be never inline.
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
8ff565c86b
commit
75b38efefd
1 changed files with 7 additions and 0 deletions
|
@ -60,6 +60,13 @@ pub enum SortKey {
|
||||||
///
|
///
|
||||||
/// FIXME: This would be much more elegant if we used `Self` in the types below,
|
/// 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.
|
/// 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)]
|
#[repr(u8)]
|
||||||
#[derive(
|
#[derive(
|
||||||
Clone,
|
Clone,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue