<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [JSC] implement async functions proposal"
   href="https://bugs.webkit.org/show_bug.cgi?id=156147#c82">Comment # 82</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [JSC] implement async functions proposal"
   href="https://bugs.webkit.org/show_bug.cgi?id=156147">bug 156147</a>
              from <span class="vcard"><a class="email" href="mailto:caitp&#64;igalia.com" title="Caitlin Potter (:caitp) &lt;caitp&#64;igalia.com&gt;"> <span class="fn">Caitlin Potter (:caitp)</span></a>
</span></b>
        <pre>Comment on <span class="bz_obsolete"><a href="attachment.cgi?id=278692&amp;action=diff" name="attach_278692" title="Patch">attachment 278692</a> <a href="attachment.cgi?id=278692&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=278692&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=278692&amp;action=review</a>

Thanks --- I've removed the bits that snuck in by mistake.

<span class="quote">&gt;&gt; Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp:509
&gt;&gt; +        if (!haveParameterNamedArguments &amp;&amp; !m_codeBlock-&gt;isArrowFunction() &amp;&amp; !m_codeBlock-&gt;isAsyncArrowFunction()) {
&gt; 
&gt; isAsyncArrowFunction is included in isArrowFunction().</span >

Yeah, the last patchset was actually supposed to remove these, but it got undone by mistake. They're gone now

<span class="quote">&gt;&gt; Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp:4313
&gt;&gt; +    ASSERT(m_codeBlock-&gt;isArrowFunction() || parseMode() == SourceParseMode::AsyncArrowFunctionBodyMode || parseMode() == SourceParseMode::AsyncArrowFunctionMode || m_codeBlock-&gt;isArrowFunctionContext() || constructorKind() == ConstructorKind::Derived || m_codeType == EvalCode);
&gt; 
&gt; Is this `SourceParseMode::AsyncArrowFunctionBodyMode` correct?</span >

I'm not sure how else to make this work --- there's probably a better way, but for the purposes of this patch, I think we can do it for the body function too. Ditto for the other one of these</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>