<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Wasm Function Parser should have a better API for handling stacks."
   href="https://bugs.webkit.org/show_bug.cgi?id=164353#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Wasm Function Parser should have a better API for handling stacks."
   href="https://bugs.webkit.org/show_bug.cgi?id=164353">bug 164353</a>
              from <span class="vcard"><a class="email" href="mailto:keith_miller&#64;apple.com" title="Keith Miller &lt;keith_miller&#64;apple.com&gt;"> <span class="fn">Keith Miller</span></a>
</span></b>
        <pre>I guess I should actually describe this a bit. The current API sometimes has the context return the value it should put on the stack then puts the value on the stack. In other cases the API passes a reference to the entire stack and expects the callee to fix up the stack as needed. We do the latter in the case of ending a block since if we have an if-then-else we need to ensure B3IRGenerator can get and set a variable with the contents of the result.</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>