[prev in list] [next in list] [prev in thread] [next in thread] 

List:       webkit-dev
Subject:    Re: [webkit-dev] Preferred style for checking for undefined in our built-in JavaScript code?
From:       Yusuke SUZUKI <utatane.tea () gmail ! com>
Date:       2016-02-01 8:42:53
Message-ID: CANewFPTwae2+Zp=cGU0FTg95v0-69eh22OOcU8nzS2gZhzN=Hw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra">I&#39;ve just prototyped bytecode intrinsic \
constants; enhancing bytecode intrinsic mechanism to accept the form `@xxx`. (not \
`@xxx(...)`, it is already introduced).</div><div class="gmail_extra">And implement \
@undefined with this.</div><div class="gmail_extra"><br></div><div \
class="gmail_extra"><a \
href="https://bugs.webkit.org/show_bug.cgi?id=153737">https://bugs.webkit.org/show_bug.cgi?id=153737</a><br>
 <br><div class="gmail_quote">On Tue, Dec 1, 2015 at 7:00 AM, Geoffrey Garen <span \
dir="ltr">&lt;<a href="mailto:ggaren@apple.com" \
target="_blank">ggaren@apple.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span \
class="">&gt; 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.<br> \
<br> </span>Yup.<br>
<br>
Geoff<br>
<div class=""><div class="h5">_______________________________________________<br>
webkit-dev mailing list<br>
<a href="mailto:webkit-dev@lists.webkit.org">webkit-dev@lists.webkit.org</a><br>
<a href="https://lists.webkit.org/mailman/listinfo/webkit-dev" rel="noreferrer" \
target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-dev</a><br> \
</div></div></blockquote></div><br></div></div>



_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic