summaryrefslogtreecommitdiff
path: root/Ports/binutils
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-07 15:41:53 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-07 15:41:53 +0200
commit5ba2022b8e67e28bf7dbd02a7eb5d19ba90aadb7 (patch)
tree4bd939520902e0e0ed78149de2774f966d62ce55 /Ports/binutils
parent3b3d1586495a88249f4a48c1ffd9fa650431467d (diff)
downloadserenity-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/binutils')
0 files changed, 0 insertions, 0 deletions