aboutsummaryrefslogtreecommitdiff
path: root/src/call_asm.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2021-02-19 11:59:26 +0000
committerGravatar GitHub <noreply@github.com> 2021-02-19 11:59:26 +0000
commite8179ecc6f7590fd014e1d25da1ba708535e5ede (patch)
tree150a4c9c77289e0c385f3bd84b54661e82262533 /src/call_asm.rs
parent7481f09d67aee7081d71cf6e042f2984c12a830f (diff)
parente802d0ef23dd10c9d01dda4e04d55f28718ad139 (diff)
downloadcortex-m-e8179ecc6f7590fd014e1d25da1ba708535e5ede.tar.gz
cortex-m-e8179ecc6f7590fd014e1d25da1ba708535e5ede.tar.zst
cortex-m-e8179ecc6f7590fd014e1d25da1ba708535e5ede.zip
Merge #334
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>
Diffstat (limited to 'src/call_asm.rs')
0 files changed, 0 insertions, 0 deletions