<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - JSC Sampling Profiler: First Bound Function name inadvertently appears where all bound functions get call"
   href="https://bugs.webkit.org/show_bug.cgi?id=153636#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - JSC Sampling Profiler: First Bound Function name inadvertently appears where all bound functions get call"
   href="https://bugs.webkit.org/show_bug.cgi?id=153636">bug 153636</a>
              from <span class="vcard"><a class="email" href="mailto:joepeck&#64;webkit.org" title="Joseph Pecoraro &lt;joepeck&#64;webkit.org&gt;"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
        <pre>Also reasonable, and probably the most accurate:

    (3) The &quot;bound&quot; function appears in the trace, with its name demarcated:

    =&gt; [f] doStuff
      =&gt; [N] bound methodOne
        =&gt; [f] methodOne
      =&gt; [N] bound methodTwo
        =&gt; [f] methodTwo

One of the things in the ES6 compat table is that (foo.bind()).name is &quot;bound foo&quot;, so this would make sense. But we would probably offer some frontend convenience to merge bound function call frames with the call to the target function, and still end up with (1) eventually.</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>