1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 23:28:12 +00:00
serenity/Userland/Libraries/LibJS/Runtime/Temporal
Linus Groh 50428ea8d2 LibJS: Move intrinsics to the realm
Intrinsics, i.e. mostly constructor and prototype objects, but also
things like empty and new object shape now live on a new heap-allocated
JS::Intrinsics object, thus completing the long journey of taking all
the magic away from the global object.
This represents the Realm's [[Intrinsics]] slot in the spec and matches
its existing [[GlobalObject]] / [[GlobalEnv]] slots in terms of
architecture.

In the majority of cases it should now be possibly to fully allocate a
regular object without the global object existing, and in fact that's
what we do now - the realm is allocated before the global object, and
the intrinsics between both :^)
2022-08-27 11:29:10 +01:00
..
AbstractOperations.cpp LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
AbstractOperations.h LibJS: Replace GlobalObject with VM in Value AOs [Part 4/19] 2022-08-23 13:58:30 +01:00
Calendar.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Calendar.h LibJS: Allow undefined for calendar in MaybeFormatCalendarAnnotation 2022-08-25 23:41:09 +01:00
CalendarConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
CalendarConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
CalendarPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
CalendarPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
Duration.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Duration.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
DurationConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
DurationConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DurationPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
DurationPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
Instant.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Instant.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
InstantConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
InstantConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
InstantPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
InstantPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
ISO8601.cpp LibJS: Reject ambiguous time string even with a calendar 2022-08-25 23:41:09 +01:00
ISO8601.h LibJS: Remove unused nonterminals from the ISO8601 parser 2022-08-25 23:41:09 +01:00
Now.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Now.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
PlainDate.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainDate.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
PlainDateConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainDateConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainDatePrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainDatePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainDateTime.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainDateTime.h LibJS: Allow undefined for calendar in MaybeFormatCalendarAnnotation 2022-08-25 23:41:09 +01:00
PlainDateTimeConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainDateTimeConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainDateTimePrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainDateTimePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainMonthDay.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainMonthDay.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
PlainMonthDayConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainMonthDayConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainMonthDayPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainMonthDayPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainTime.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainTime.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
PlainTimeConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainTimeConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainTimePrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainTimePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainYearMonth.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainYearMonth.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
PlainYearMonthConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainYearMonthConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainYearMonthPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PlainYearMonthPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
Temporal.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Temporal.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
TimeZone.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
TimeZone.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
TimeZoneConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
TimeZoneConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
TimeZonePrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
TimeZonePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
ZonedDateTime.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
ZonedDateTime.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
ZonedDateTimeConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
ZonedDateTimeConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
ZonedDateTimePrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
ZonedDateTimePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00