ladybird/Userland/Libraries/LibJS/Runtime/Temporal
Andreas Kling 65717e3b75 LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive}
These functions all have a very common case that can be dealt with a
very simple inline check, often avoiding the need to call an out-of-line
function. This patch moves the common case to inline functions in a new
ValueInlines.h header (necessary due to header dependency issues..)

8% speed-up on the entire Kraken benchmark :^)
2023-10-07 07:13:52 +02:00
..
AbstractOperations.cpp LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive} 2023-10-07 07:13:52 +02:00
AbstractOperations.h LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive} 2023-10-07 07:13:52 +02:00
Calendar.cpp LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive} 2023-10-07 07:13:52 +02:00
Calendar.h
CalendarConstructor.cpp LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
CalendarConstructor.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
CalendarPrototype.cpp LibJS: Make Value::to_string_without_side_effects() infallible 2023-08-09 17:09:16 +02:00
CalendarPrototype.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
Duration.cpp LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive} 2023-10-07 07:13:52 +02:00
Duration.h
DurationConstructor.cpp LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive} 2023-10-07 07:13:52 +02:00
DurationConstructor.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
DurationPrototype.cpp LibJS: Make PrimitiveString::create() infallible 2023-08-09 17:09:16 +02:00
DurationPrototype.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
Instant.cpp
Instant.h
InstantConstructor.cpp LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive} 2023-10-07 07:13:52 +02:00
InstantConstructor.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
InstantPrototype.cpp LibJS: Make PrimitiveString::create() infallible 2023-08-09 17:09:16 +02:00
InstantPrototype.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
ISO8601.cpp
ISO8601.h
Now.cpp LibJS: Implement time zone identifier AOs centrally within Date 2023-10-05 17:01:02 +02:00
Now.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PlainDate.cpp
PlainDate.h
PlainDateConstructor.cpp LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PlainDateConstructor.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PlainDatePrototype.cpp LibJS: Make Value::to_string_without_side_effects() infallible 2023-08-09 17:09:16 +02:00
PlainDatePrototype.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PlainDateTime.cpp
PlainDateTime.h
PlainDateTimeConstructor.cpp LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PlainDateTimeConstructor.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PlainDateTimePrototype.cpp LibJS: Make Value::to_string_without_side_effects() infallible 2023-08-09 17:09:16 +02:00
PlainDateTimePrototype.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PlainMonthDay.cpp
PlainMonthDay.h
PlainMonthDayConstructor.cpp LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PlainMonthDayConstructor.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PlainMonthDayPrototype.cpp LibJS: Make Value::to_string_without_side_effects() infallible 2023-08-09 17:09:16 +02:00
PlainMonthDayPrototype.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PlainTime.cpp
PlainTime.h
PlainTimeConstructor.cpp LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PlainTimeConstructor.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PlainTimePrototype.cpp LibJS: Make Value::to_string_without_side_effects() infallible 2023-08-09 17:09:16 +02:00
PlainTimePrototype.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PlainYearMonth.cpp
PlainYearMonth.h
PlainYearMonthConstructor.cpp LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PlainYearMonthConstructor.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PlainYearMonthPrototype.cpp LibJS: Make Value::to_string_without_side_effects() infallible 2023-08-09 17:09:16 +02:00
PlainYearMonthPrototype.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
Temporal.cpp LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Temporal.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
TimeZone.cpp
TimeZone.h
TimeZoneConstructor.cpp LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
TimeZoneConstructor.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
TimeZonePrototype.cpp LibJS: Make PrimitiveString::create() infallible 2023-08-09 17:09:16 +02:00
TimeZonePrototype.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
ZonedDateTime.cpp LibJS: Make PrimitiveString::utf8_string() infallible 2023-08-09 17:09:16 +02:00
ZonedDateTime.h
ZonedDateTimeConstructor.cpp LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
ZonedDateTimeConstructor.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
ZonedDateTimePrototype.cpp LibJS: Make Value::to_string_without_side_effects() infallible 2023-08-09 17:09:16 +02:00
ZonedDateTimePrototype.h LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00