Closed Bug 1234738 Opened 10 years ago Closed 10 years ago

Emit ALIASEDVAR ops for block-scoped lexicals at top level

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: shu, Unassigned)

Details

Attachments

(1 file)

Currently we emit NAME ops for lexicals at blocks at global level, e.g.: { let x; function f() { x; /* emitted as GETNAME "x" */ } }
How should we test this?
Attachment #8701312 - Flags: review?(jorendorff)
Attachment #8701312 - Flags: review?(jorendorff) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: