aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/examples/main.rs
diff options
context:
space:
mode:
authorGravatar Gabriel Smith <ga29smith@gmail.com> 2018-08-12 18:46:50 -0400
committerGravatar Gabriel Smith <ga29smith@gmail.com> 2018-08-12 18:46:50 -0400
commit73e0b2a25d1766debe4f603dd13a732de2f1993d (patch)
treed574ed4dee9ba3bc9ec195f6cb31b1c567226d83 /cortex-m-rt/examples/main.rs
parent743b8fc282f16ab54ff9ff2540f8db337f3562ad (diff)
downloadcortex-m-73e0b2a25d1766debe4f603dd13a732de2f1993d.tar.gz
cortex-m-73e0b2a25d1766debe4f603dd13a732de2f1993d.tar.zst
cortex-m-73e0b2a25d1766debe4f603dd13a732de2f1993d.zip
Change pre-init to use an empty function that is overwridden instead of a sentinel
Using a sentinel creates a conditional branch that cannot be optimized out whereas an empty default function keeps the codepath linear and can be optimized out in the best case. Signed-off-by: Gabriel Smith <ga29smith@gmail.com>
Diffstat (limited to 'cortex-m-rt/examples/main.rs')
0 files changed, 0 insertions, 0 deletions