Skip to content

Commit 63ab0cb

Browse files
committed
Inline abi::Size::bytes()
This save an additional 6 seconds on the test program.
1 parent 202aea5 commit 63ab0cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_target/abi/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ impl Size {
240240
}
241241
}
242242

243+
#[inline]
243244
pub fn bytes(self) -> u64 {
244245
self.raw
245246
}

0 commit comments

Comments
 (0)