1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:50:59 +00:00
serenity/Userland
Linus Groh b84f8fb55b LibJS: Make intrinsics getters return NonnullGCPtr
Some of these are allocated upon initialization of the intrinsics, and
some lazily, but in neither case the getters actually return a nullptr.

This saves us a whole bunch of pointer dereferences (as NonnullGCPtr has
an `operator T&()`), and also has the interesting side effect of forcing
us to explicitly use the FunctionObject& overload of call(), as passing
a NonnullGCPtr is ambigous - it could implicitly be turned into a Value
_or_ a FunctionObject& (so we have to dereference manually).
2023-04-13 14:29:42 +02:00
..
Applets Applets/Keymap: Repaint applet on keymap change 2023-03-09 21:42:23 +01:00
Applications LibJS: Make intrinsics getters return NonnullGCPtr 2023-04-13 14:29:42 +02:00
BuggieBox Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Demos Starfield: Rename starfield_window to starfield_widget 2023-04-12 19:34:27 +02:00
DevTools HackStudio: Set_cursor even if the file is already open 2023-04-13 09:52:33 +02:00
DynamicLoader DynamicLoader: Disable stack protector in some files for aarch64 build 2023-02-15 22:53:19 +01:00
Games Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
Libraries LibJS: Make intrinsics getters return NonnullGCPtr 2023-04-13 14:29:42 +02:00
Services LibJS: Make intrinsics getters return NonnullGCPtr 2023-04-13 14:29:42 +02:00
Shell Shell: Add map_fixed to the pledges for command autocompletion 2023-04-12 07:06:54 -04:00
Utilities Everywhere: Fix a few typos 2023-04-12 19:37:35 +02:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00