1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-18 02:32:25 +00:00
serenity/Userland/Libraries/LibJS/Runtime/Intl
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 LibJS: Replace GlobalObject with VM in Value AOs [Part 4/19] 2022-08-23 13:58:30 +01:00
AbstractOperations.h LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
Collator.cpp LibJS: Implement get Intl.Collator.prototype.compare 2022-02-20 22:05:59 -05:00
Collator.h LibJS: Reorganize spec steps for Intl.Collator 2022-03-15 17:30:58 +01:00
CollatorCompareFunction.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
CollatorCompareFunction.h LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
CollatorConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
CollatorConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
CollatorPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
CollatorPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DateTimeFormat.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
DateTimeFormat.h LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
DateTimeFormatConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
DateTimeFormatConstructor.h LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
DateTimeFormatFunction.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
DateTimeFormatFunction.h LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
DateTimeFormatPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
DateTimeFormatPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DisplayNames.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
DisplayNames.h LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
DisplayNamesConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
DisplayNamesConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DisplayNamesPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
DisplayNamesPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DurationFormat.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
DurationFormat.h LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
DurationFormatConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
DurationFormatConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DurationFormatPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
DurationFormatPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
Intl.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Intl.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
ListFormat.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
ListFormat.h LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
ListFormatConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
ListFormatConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
ListFormatPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
ListFormatPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
Locale.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Locale.h LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
LocaleConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
LocaleConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
LocalePrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
LocalePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
MathematicalValue.cpp LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
MathematicalValue.h LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
NumberFormat.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
NumberFormat.h LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
NumberFormatConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
NumberFormatConstructor.h LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
NumberFormatFunction.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
NumberFormatFunction.h LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
NumberFormatPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
NumberFormatPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PluralRules.cpp LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
PluralRules.h LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
PluralRulesConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PluralRulesConstructor.h LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
PluralRulesPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
PluralRulesPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
RelativeTimeFormat.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
RelativeTimeFormat.h LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
RelativeTimeFormatConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
RelativeTimeFormatConstructor.h LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
RelativeTimeFormatPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
RelativeTimeFormatPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
Segmenter.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Segmenter.h LibJS: Replace GlobalObject with VM in Intl AOs [Part 1/19] 2022-08-23 13:58:30 +01:00
SegmenterConstructor.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
SegmenterConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
SegmenterPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
SegmenterPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
SegmentIterator.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
SegmentIterator.h LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
SegmentIteratorPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
SegmentIteratorPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
Segments.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
Segments.h LibJS+LibWeb: Replace GlobalObject with Realm in create() functions 2022-08-23 13:58:30 +01:00
SegmentsPrototype.cpp LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
SegmentsPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00