diff options
author | PMunch <peterme@peterme.net> | 2022-02-25 10:43:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-25 10:43:03 +0100 |
commit | 9a49451124a781a2cd032b6e7616c67a7815fe57 (patch) | |
tree | 3f432e239905617aa188ca56722c438f11e819c0 /lib | |
parent | 340b5a1676062aa9bc7f17a2e078eaba96821bf3 (diff) | |
download | Nim-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