summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorPMunch <peterme@peterme.net>2022-02-25 10:43:03 +0100
committerGitHub <noreply@github.com>2022-02-25 10:43:03 +0100
commit9a49451124a781a2cd032b6e7616c67a7815fe57 (patch)
tree3f432e239905617aa188ca56722c438f11e819c0 /lib
parent340b5a1676062aa9bc7f17a2e078eaba96821bf3 (diff)
downloadNim-9a49451124a781a2cd032b6e7616c67a7815fe57.tar.gz
Remove volatiles when compiling with ARC/ORC (#19545)
This removes volatiles on ARC/ORC targets in NimMain and PreMainInner.
This avoids an issue where they couldn't be optimised out on
microcontrollers leading to larger code. Since the stack bottom doesn't
have to be initialised this way when using ARC or ORC (or None, which is
also covered by this PR) these can be safely removed.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions