Closed Bug 1688202 Opened 3 years ago Closed 3 years ago

Use TypeDescr instead JSObject in ObjectGroupRealm and remove more unused functions

Categories

(Core :: JavaScript Engine, task)

task

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: anba, Assigned: anba)

References

Details

Attachments

(10 files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
  • Use TypeDescr instead JSObject in ObjectGroupRealm.
  • Update some ObjectGroup comments.
  • And remove more unused functions.

The associated object is only used for typed objects, so we can change it to
TypeDescr.

After part 1 it's easy to see why this assertion is no longer needed.

Depends on D102740

Remove unused ObjectGroup functions and also remove a no longer forward
declaration of gc::MergeRealms.

Drive-by change:

  • Add missing include for gc::MergeRealms to "HelperThreads.cpp".

Depends on D102741

Remove comments about "type properties" etc. which were refering to TI features.

Depends on D102742

Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7859910469d5
Part 1: Use TypeDescr for ObjectGroupRealm. r=jandem
https://hg.mozilla.org/integration/autoland/rev/60c2d0fe83ae
Part 2: Remove no longer needed assertions in ObjectGroupRealm::NewEntry::Lookup. r=jandem
https://hg.mozilla.org/integration/autoland/rev/d6fd42dc5f0f
Part 3: Remove unused ObjectGroup functions. r=jandem
https://hg.mozilla.org/integration/autoland/rev/84b74cd250f9
Part 4: Update some ObjectGroup comments. r=jandem
https://hg.mozilla.org/integration/autoland/rev/44b5e468df6a
Part 5: Remove unused NativeObject methods. r=jandem
https://hg.mozilla.org/integration/autoland/rev/75e1e508676f
Part 6: Remove ReshapeForAllocKind. r=jandem
https://hg.mozilla.org/integration/autoland/rev/84fe88c4d7cf
Part 7: Remove RegExpStatics::updateLazily. r=jandem
https://hg.mozilla.org/integration/autoland/rev/94e14cf6985e
Part 8: Remove RegExpObject::create() variants accepting TokenStreamAnyChars. r=jandem
https://hg.mozilla.org/integration/autoland/rev/1ebb9974ea0b
Part 9: Remove unused ReceiverGuard methods. r=jandem
https://hg.mozilla.org/integration/autoland/rev/cf536060cd46
Part 10: Remove unused JSFunction functions. r=jandem
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: