mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 00:52:28 +02:00
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. :^)
97 KiB
97 KiB