diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-07 15:41:53 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-07 15:41:53 +0200 |
commit | 5ba2022b8e67e28bf7dbd02a7eb5d19ba90aadb7 (patch) | |
tree | 4bd939520902e0e0ed78149de2774f966d62ce55 /Ports/dash | |
parent | 3b3d1586495a88249f4a48c1ffd9fa650431467d (diff) | |
download | serenity-5ba2022b8e67e28bf7dbd02a7eb5d19ba90aadb7.zip |
UserspaceEmulator: Result is initialized after OR with all-1 immediate
When compiling with "-Os", GCC produces the following pattern for
atomic decrement (which is used by our RefCounted template):
or eax, -1
lock xadd [destination], eax
Since or-ing with -1 will always produce the same output (-1), we can
mark the result of these operations as initialized. This stops us from
complaining about false positives when running the shell in UE. :^)
Diffstat (limited to 'Ports/dash')
0 files changed, 0 insertions, 0 deletions