Closed Bug 946849 Opened 11 years ago Closed 10 years ago

XDR should restore singleton types of JSFunctions

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: nbp, Assigned: nbp)

References

Details

Attachments

(1 file)

The Singleton types of JSFunction is used for many optimization, currently this information is not saved with the JSFunction, and thus it cannot be restored.

Not restoring the singleton type of JSFunction cause PJS tests cases to fail because they are unable to compile as expected.

This patch add a new bit to restore the singleton type of JSFunction and restore it.
Attachment #8343218 - Flags: review?(bhackett1024)
Attachment #8343218 - Flags: review?(bhackett1024) → review+
https://hg.mozilla.org/mozilla-central/rev/92e944c9344d
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: