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
AbstractOperations.h
Calendar.cpp
Calendar.h
CalendarConstructor.cpp
CalendarConstructor.h
CalendarPrototype.cpp
CalendarPrototype.h
Duration.cpp
Duration.h
DurationConstructor.cpp
DurationConstructor.h
DurationPrototype.cpp
DurationPrototype.h
Instant.cpp
Instant.h
InstantConstructor.cpp
InstantConstructor.h
InstantPrototype.cpp
InstantPrototype.h
ISO8601.cpp
ISO8601.h
Now.cpp
Now.h
PlainDate.cpp
PlainDate.h
PlainDateConstructor.cpp
PlainDateConstructor.h
PlainDatePrototype.cpp
PlainDatePrototype.h
PlainDateTime.cpp
PlainDateTime.h
PlainDateTimeConstructor.cpp
PlainDateTimeConstructor.h
PlainDateTimePrototype.cpp
PlainDateTimePrototype.h
PlainMonthDay.cpp
PlainMonthDay.h
PlainMonthDayConstructor.cpp
PlainMonthDayConstructor.h
PlainMonthDayPrototype.cpp
PlainMonthDayPrototype.h
PlainTime.cpp
PlainTime.h
PlainTimeConstructor.cpp
PlainTimeConstructor.h
PlainTimePrototype.cpp
PlainTimePrototype.h
PlainYearMonth.cpp
PlainYearMonth.h
PlainYearMonthConstructor.cpp
PlainYearMonthConstructor.h
PlainYearMonthPrototype.cpp
PlainYearMonthPrototype.h
Temporal.cpp
Temporal.h
TimeZone.cpp
TimeZone.h
TimeZoneConstructor.cpp
TimeZoneConstructor.h
TimeZonePrototype.cpp
TimeZonePrototype.h
ZonedDateTime.cpp
ZonedDateTime.h
ZonedDateTimeConstructor.cpp
ZonedDateTimeConstructor.h
ZonedDateTimePrototype.cpp
ZonedDateTimePrototype.h