1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 22:34:59 +00:00
serenity/Userland/Libraries/LibWasm
Shannon Booth e2e7c4d574 Everywhere: Use to_number<T> instead of to_{int,uint,float,double}
In a bunch of cases, this actually ends up simplifying the code as
to_number will handle something such as:

```
Optional<I> opt;
if constexpr (IsSigned<I>)
    opt = view.to_int<I>();
else
    opt = view.to_uint<I>();
```

For us.

The main goal here however is to have a single generic number conversion
API between all of the String classes.
2023-12-23 20:41:07 +01:00
..
AbstractMachine Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
Parser Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Printer Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Tests Meta+LibWasm: Add support for module linking tests 2021-06-22 00:26:25 +04:30
WASI Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
CMakeLists.txt LibWasm: Start implementing WASI 2023-04-26 03:47:15 +03:30
Constants.h LibWasm+LibWeb: Parse and validate all Wasm SIMD instructions 2023-08-21 13:39:32 +03:30
Forward.h LibWasm: Start implementing WASI 2023-04-26 03:47:15 +03:30
Opcode.h LibWasm+LibWeb: Parse and validate all Wasm SIMD instructions 2023-08-21 13:39:32 +03:30
Types.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Wasi.h Userland: Make bit-fields compatible with MSVC C++ ABI 2023-12-07 10:28:19 -07:00