If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

XDR should restore singleton types of JSFunctions

RESOLVED FIXED in mozilla30

Status

()

Core
JavaScript Engine
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: nbp, Assigned: nbp)

Tracking

(Blocks: 1 bug)

unspecified
mozilla30
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
Created attachment 8343218 [details] [diff] [review]
bug900789-xdr-jsfun-singleton-type.patch

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+
(Assignee)

Comment 1

4 years ago
http://hg.mozilla.org/integration/mozilla-inbound/rev/92e944c9344d
https://hg.mozilla.org/mozilla-central/rev/92e944c9344d
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.