Closed Bug 1603218 Opened 4 years ago Closed 4 years ago

Add js::BaseScript::ImmutableFlags::NeverRelazify

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: tcampbell, Unassigned)

References

Details

With Bug 1529456 we will allow relazification of scripts that were never lazy. For the most part this is fine, but there are specific cases that may not support this.

This differs from the MutableFlags::DoNotRelazify since this flag must persist across XDR, while the mutable flag is for more transient or external conditions such as debugger or testing functions.

For BinAST eager functions, it is not possible for delazify them afterwards due to the encoding not allowing random-access in some modes. For this case we should use the NeverRelazify flag until the BinAST frontend can be changed to accommodate this relazification.

This was fixed elsewhere with the addition of ImmutableFlags::AllowRelazify.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.