Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
334: Remove an extra function call in `primask::read` r=jonas-schievink a=yvt There doesn't seem to be any reason why the call to `__primask_r` should be wrapped by another function call. `read_raw` (the function being removed by this PR) is not `#[inline]`, so it did hurt performance when compiled without LTO. Compare with `faultmask::read`: https://github.com/rust-embedded/cortex-m/blob/7481f09d67aee7081d71cf6e042f2984c12a830f/src/register/faultmask.rs#L26-L35 Co-authored-by: yvt <i@yvt.jp>
- Loading branch information