[webkit-dev] Preferred style for checking for undefined in our built-in JavaScript code?

Yusuke SUZUKI utatane.tea at gmail.com
Mon Feb 1 00:42:53 PST 2016


I've just prototyped bytecode intrinsic constants; enhancing bytecode
intrinsic mechanism to accept the form `@xxx`. (not `@xxx(...)`, it is
already introduced).
And implement @undefined with this.

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

On Tue, Dec 1, 2015 at 7:00 AM, Geoffrey Garen <ggaren at apple.com> wrote:

> > Seems like we should not have to wait long for the “long term”. It seems
> that the built-in compiler could start magically transforming “@undefined”
> instead of magically transforming “undefined” any time we like; likely a
> simple find and replace job. Or it could do both during a transition
> period. It could even treat a bare “undefined” as an error if we are
> worried that we will make that error.
>
> Yup.
>
> Geoff
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20160201/fe424e64/attachment.html>


More information about the webkit-dev mailing list