Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 63ab0cb

Browse files
committedJun 27, 2018
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)
Please sign in to comment.