Closed Bug 1456989 Opened 7 years ago Closed 7 years ago

[BinAST] CatchClause now contains a AssertedParameterScope

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: Yoric, Assigned: Yoric)

References

()

Details

Attachments

(2 files)

Assignee: nobody → dteller
Depends on: 1456609
Note: I'm not entirely sure how to handle this yet. When we parse an
Summary: [BinAST] CatchClause now contains a parameterScope → [BinAST] CatchClause now contains a AssertedParameterScope
When we parse an AssertedParameterScope, we use `parseContext_->functionScope()`, because we assume that we're currently parsing a function. This is not the case here, but what is the scope, exactly? Just the innermost scope?
efaust, that's part of the mountain of stuff that I'll let you decide when to land, so as not to block your ongoing landing. Just to make things more fun, we'll need to land the matching binjs-ref patch: https://github.com/binast/binjs-ref/pull/113
Flags: needinfo?(efaustbmo)
Attachment #8971153 - Flags: review?(arai.unmht)
Attachment #8971152 - Flags: review?(arai.unmht)
Attachment #8971153 - Flags: review?(efaustbmo)
Attachment #8971153 - Flags: review?(arai.unmht)
Comment on attachment 8971152 [details] Bug 1456989 - Updating BinTokenReader{Simple, Multipart} tests data; https://reviewboard.mozilla.org/r/239948/#review245650
Attachment #8971152 - Flags: review+
Comment on attachment 8971153 [details] Bug 1456989 - CatchClause now contains a AssertedParameterScope; https://reviewboard.mozilla.org/r/239950/#review245920 Patch looks good to me. Not sure how bad the rebase will prove.
Attachment #8971153 - Flags: review+
Pushed by dteller@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7135781f4a79 Updating BinTokenReader{Simple, Multipart} tests data;r=arai https://hg.mozilla.org/integration/autoland/rev/0483a4252c05 CatchClause now contains a AssertedParameterScope;r=efaust
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Flags: needinfo?(efaustbmo)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: