<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Implement control flow statements in WebAssembly"
   href="https://bugs.webkit.org/show_bug.cgi?id=148934#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Implement control flow statements in WebAssembly"
   href="https://bugs.webkit.org/show_bug.cgi?id=148934">bug 148934</a>
              from <span class="vcard"><a class="email" href="mailto:sukolsak&#64;gmail.com" title="Sukolsak Sakshuwong &lt;sukolsak&#64;gmail.com&gt;"> <span class="fn">Sukolsak Sakshuwong</span></a>
</span></b>
        <pre>Thanks!

(In reply to <a href="show_bug.cgi?id=148934#c4">comment #4</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=260742&amp;action=diff" name="attach_260742" title="Patch">attachment 260742</a> <a href="attachment.cgi?id=260742&amp;action=edit" title="Patch">[details]</a></span>
&gt; Patch
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=260742&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=260742&amp;action=review</a>
&gt; 
&gt; r=me
&gt; 
&gt; &gt; Source/JavaScriptCore/wasm/WASMFunctionCompiler.h:407
&gt; &gt; +    void endLabel()
&gt; &gt; +    {
&gt; &gt; +        linkTarget(m_breakLabelTargets.last());
&gt; &gt; +
&gt; &gt; +        m_breakLabelTargets.removeLast();
&gt; &gt; +        m_continueLabelTargets.removeLast();
&gt; &gt; +    }
&gt; 
&gt; Is it guaranteed that WASM can't have arbitrary gotos? (An arbitrary goto
&gt; would make the push/pop model of labels invalid.)</span >

goto is not part of the MVP, but it is under consideration for a future version. &lt;<a href="https://github.com/WebAssembly/design/blob/master/FutureFeatures.md#more-expressive-control-flow">https://github.com/WebAssembly/design/blob/master/FutureFeatures.md#more-expressive-control-flow</a>&gt; The WASM format that we are using doesn't have goto.</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>