mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:27:46 +00:00
AK: Allow inlining ref-count functionality
Previously we'd incur the costs for a function call via the PLT even for the most trivial ref-count actions like increasing/decreasing the reference count. By moving the code to the header file we allow the compiler to inline this code into the caller's function.
This commit is contained in:
parent
ab4f4ddc3c
commit
ed0068d04d
3 changed files with 33 additions and 53 deletions
|
@ -277,7 +277,6 @@ set(AK_SOURCES
|
|||
../AK/JsonParser.cpp
|
||||
../AK/JsonValue.cpp
|
||||
../AK/LexicalPath.cpp
|
||||
../AK/RefCounted.cpp
|
||||
../AK/String.cpp
|
||||
../AK/StringBuilder.cpp
|
||||
../AK/StringImpl.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue