1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:18:11 +00:00
serenity/Userland
Linus Groh 5db38d7ba1 LibJS: Replace standalone js_bigint() with BigInt::create()
Three standalone Cell creation functions remain in the JS namespace:

- js_bigint()
- js_string()
- js_symbol()

All of them are leftovers from early iterations when LibJS still took
inspiration from JSC, which itself has jsString(). Nowadays, we pretty
much exclusively use static create() functions to construct types
allocated on the JS heap, and there's no reason to not do the same for
these.
Also change the return type from BigInt* to NonnullGCPtr<BigInt> while
we're here.

This is patch 1/3, replacement of js_string() and js_symbol() follow.
2022-12-07 16:43:06 +00:00
..
Applets Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Applications Meta+Userland: Pass Gfx::IntSize by value 2022-12-07 11:48:27 +01:00
BuggieBox Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00
Demos Meta+Userland: Pass Gfx::IntSize by value 2022-12-07 11:48:27 +01:00
DevTools UserspaceEmulator: Implement MOV_RM16_seg 2022-12-07 13:18:48 +01:00
DynamicLoader AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Games Meta+Userland: Pass Gfx::IntPoint by value 2022-12-07 11:48:27 +01:00
Libraries LibJS: Replace standalone js_bigint() with BigInt::create() 2022-12-07 16:43:06 +00:00
Services LibSQL+SQLServer+sql: Send and parse the correct number of changed rows 2022-12-07 13:09:00 +01:00
Shell Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Utilities LibSQL+SQLServer+sql: Send and parse the correct number of changed rows 2022-12-07 13:09:00 +01:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00