<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [JSC] implement async functions proposal"
   href="https://bugs.webkit.org/show_bug.cgi?id=156147#c108">Comment # 108</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [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:sbarati&#64;apple.com" title="Saam Barati &lt;sbarati&#64;apple.com&gt;"> <span class="fn">Saam Barati</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=156147#c107">comment #107</a>)
<span class="quote">&gt; something like
&gt; 
&gt; ```
&gt; // private members of class Parser:
&gt; #define JSC_DECLARE_RUNTIME_FLAG_BOOL(name, isEnabledFlag) bool m_is##name;
&gt; JSC_RUNTIME_FLAG(JSC_DECLARE_RUNTIME_FLAG_BOOLEAN)
&gt; 
&gt; // Parser constructor:
&gt; #define JSC_INITIALIZE_PARSER_RUNTIME_FLAGS(name, isEnabledFlag) \
&gt;   m_is##name = runtimeFlags.is##name();
&gt; JSC_RUNTIME_FLAG_(JSC_INITIALIZE_PARSER_RUNTIME_FLAGS)
&gt; ```
&gt; 
&gt; and replace `m_runtimeFlags` accesses with more direct things? I wouldn't
&gt; want to make the RuntimeFlags class too fat, since it gets copied around a
&gt; lot, but maybe only doing the heavy copying in the Parser constructor is
&gt; okay.
&gt; 
&gt; I'll try it and see how it goes, I guess</span >

You can also add a field into Parser that copies out the flag at Parser construction time.

Have you tried making async a key word?</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>