[Webkit-unassigned] [Bug 140491] Implement ES6 class syntax

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 19 11:45:57 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=140491

--- Comment #7 from Geoffrey Garen <ggaren at apple.com> ---
> I've talked about 1 with Oliver and Gavin, and the approach we came up so
> far (if I remember correctly) is to allocate a local variable/register that
> stores "uninitialized-ness" of the "this" variable.

I think you can just use undefined to mean uninitialized.

The ThisNode in the AST can emit explicit branches around access to 'this' to check for undefined, if and only if you're compiling a constructor that extends a builtin.

The DFG will probably dead-code-eliminate those branches in simple cases. The FTL should get them in all cases.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150119/72e84353/attachment-0002.html>


More information about the webkit-unassigned mailing list