Bug 1485252 - Add MallocSizeOf impls for 128-bit integers. r=xidorn
authorCameron McCormack <cam@mcc.id.au>
Wed, 22 Aug 2018 05:37:39 +0000
changeset 432753 7bd181a54b142a70a058c3d42dc05b4e00aab259
parent 432752 c9d2c08bea3cdc95ce6bad70ac29bbd0a2fd13d7
child 432754 2dd1517113c3b4b77ed0baf5313e9b0ae1a6a873
push id34485
push usernerli@mozilla.com
push dateWed, 22 Aug 2018 09:48:16 +0000
treeherdermozilla-central@357d549504fb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersxidorn
bugs1485252
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1485252 - Add MallocSizeOf impls for 128-bit integers. r=xidorn Differential Revision: https://phabricator.services.mozilla.com/D3947
servo/components/malloc_size_of/lib.rs
--- a/servo/components/malloc_size_of/lib.rs
+++ b/servo/components/malloc_size_of/lib.rs
@@ -840,18 +840,18 @@ macro_rules! malloc_size_of_is_0(
                 0
             }
         }
         )+
     );
 );
 
 malloc_size_of_is_0!(bool, char, str);
-malloc_size_of_is_0!(u8, u16, u32, u64, usize);
-malloc_size_of_is_0!(i8, i16, i32, i64, isize);
+malloc_size_of_is_0!(u8, u16, u32, u64, u128, usize);
+malloc_size_of_is_0!(i8, i16, i32, i64, i128, isize);
 malloc_size_of_is_0!(f32, f64);
 
 malloc_size_of_is_0!(std::sync::atomic::AtomicBool);
 malloc_size_of_is_0!(std::sync::atomic::AtomicIsize, std::sync::atomic::AtomicUsize);
 
 malloc_size_of_is_0!(Range<u8>, Range<u16>, Range<u32>, Range<u64>, Range<usize>);
 malloc_size_of_is_0!(Range<i8>, Range<i16>, Range<i32>, Range<i64>, Range<isize>);
 malloc_size_of_is_0!(Range<f32>, Range<f64>);