<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>264650</bug_id>
          
          <creation_ts>2023-11-10 18:25:05 -0800</creation_ts>
          <short_desc>[WASM-Function-References] Implement return_call_ref</short_desc>
          <delta_ts>2025-07-10 14:02:20 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebAssembly</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>278741</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>265262</dependson>
          <blocked>247393</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Asumu Takikawa">asumu</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>chi187</cc>
    
    <cc>d_degazio</cc>
    
    <cc>justin_michaud</cc>
    
    <cc>keith_miller</cc>
    
    <cc>mark.lam</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1991772</commentid>
    <comment_count>0</comment_count>
    <who name="Asumu Takikawa">asumu</who>
    <bug_when>2023-11-10 18:25:05 -0800</bug_when>
    <thetext>With both tail calls and typed funcrefs enabled, `return_call_ref` should be an available instruction.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1993621</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-17 18:26:22 -0800</bug_when>
    <thetext>&lt;rdar://problem/118588673&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994461</commentid>
    <comment_count>2</comment_count>
    <who name="Asumu Takikawa">asumu</who>
    <bug_when>2023-11-22 15:48:00 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20838</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2062933</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey Rubanov">chi187</who>
    <bug_when>2024-09-24 20:28:51 -0700</bug_when>
    <thetext>It seems that `return_call_ref` implementation has landed in https://github.com/WebKit/WebKit/commit/1fe68a1ecd11434fb0f36ea4460a5aaa9ae3dc3c and this bug should be closed.

There&apos;s also an outdated PR https://github.com/WebKit/WebKit/pull/20838</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2129111</commentid>
    <comment_count>4</comment_count>
    <who name="David Degazio">d_degazio</who>
    <bug_when>2025-07-10 14:02:20 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 278741 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>