<?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>240741</bug_id>
          
          <creation_ts>2022-05-20 15:22:23 -0700</creation_ts>
          <short_desc>WebAssembly: sync wasm.json files</short_desc>
          <delta_ts>2022-05-22 23:47:14 -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>FIXED</resolution>
          
          
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Asumu Takikawa">asumu</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1870843</commentid>
    <comment_count>0</comment_count>
    <who name="Asumu Takikawa">asumu</who>
    <bug_when>2022-05-20 15:22:23 -0700</bug_when>
    <thetext>The two wasm.json files in the source tree that are supposed to be synced have drifted a bit:

```
$ diff Source/JavaScriptCore/wasm/wasm.json JSTests/wasm/wasm.json 
20c20
&lt;         &quot;rtt&quot;:       { &quot;type&quot;: &quot;varint7&quot;, &quot;value&quot;:  -24, &quot;b3type&quot;: &quot;B3::Int64&quot; },
---
&gt;         &quot;rtt&quot;:       { &quot;type&quot;: &quot;varint7&quot;, &quot;value&quot;:  -24, &quot;b3type&quot;: &quot;B3::Void&quot; },
189,190c189,190
&lt;         &quot;f32.min&quot;:             { &quot;category&quot;: &quot;arithmetic&quot;, &quot;value&quot;: 150, &quot;return&quot;: [&quot;f32&quot;],                          &quot;parameter&quot;: [&quot;f32&quot;, &quot;f32&quot;],                 &quot;immediate&quot;: [], &quot;b3op&quot;: &quot;FMin&quot; },
&lt;         &quot;f32.max&quot;:             { &quot;category&quot;: &quot;arithmetic&quot;, &quot;value&quot;: 151, &quot;return&quot;: [&quot;f32&quot;],                          &quot;parameter&quot;: [&quot;f32&quot;, &quot;f32&quot;],                 &quot;immediate&quot;: [], &quot;b3op&quot;: &quot;FMax&quot; },
---
&gt;         &quot;f32.min&quot;:             { &quot;category&quot;: &quot;arithmetic&quot;, &quot;value&quot;: 150, &quot;return&quot;: [&quot;f32&quot;],                          &quot;parameter&quot;: [&quot;f32&quot;, &quot;f32&quot;],                 &quot;immediate&quot;: [], &quot;b3op&quot;: &quot;Select(Equal(@0, @1), BitOr(@0, @1), Select(LessThan(@0, @1), @0, Select(GreaterThan(@0, @1), @1, Add(@0, @1))))&quot; },
&gt;         &quot;f32.max&quot;:             { &quot;category&quot;: &quot;arithmetic&quot;, &quot;value&quot;: 151, &quot;return&quot;: [&quot;f32&quot;],                          &quot;parameter&quot;: [&quot;f32&quot;, &quot;f32&quot;],                 &quot;immediate&quot;: [], &quot;b3op&quot;: &quot;Select(Equal(@0, @1), BitAnd(@0, @1), Select(LessThan(@0, @1), @1, Select(GreaterThan(@0, @1), @0, Add(@0, @1))))&quot; },
209,210c209,210
&lt;         &quot;f64.min&quot;:             { &quot;category&quot;: &quot;arithmetic&quot;, &quot;value&quot;: 164, &quot;return&quot;: [&quot;f64&quot;],                          &quot;parameter&quot;: [&quot;f64&quot;, &quot;f64&quot;],                 &quot;immediate&quot;: [], &quot;b3op&quot;: &quot;FMin&quot; },
&lt;         &quot;f64.max&quot;:             { &quot;category&quot;: &quot;arithmetic&quot;, &quot;value&quot;: 165, &quot;return&quot;: [&quot;f64&quot;],                          &quot;parameter&quot;: [&quot;f64&quot;, &quot;f64&quot;],                 &quot;immediate&quot;: [], &quot;b3op&quot;: &quot;FMax&quot; },
---
&gt;         &quot;f64.min&quot;:             { &quot;category&quot;: &quot;arithmetic&quot;, &quot;value&quot;: 164, &quot;return&quot;: [&quot;f64&quot;],                          &quot;parameter&quot;: [&quot;f64&quot;, &quot;f64&quot;],                 &quot;immediate&quot;: [], &quot;b3op&quot;: &quot;Select(Equal(@0, @1), BitOr(@0, @1), Select(LessThan(@0, @1), @0, Select(GreaterThan(@0, @1), @1, Add(@0, @1))))&quot; },
&gt;         &quot;f64.max&quot;:             { &quot;category&quot;: &quot;arithmetic&quot;, &quot;value&quot;: 165, &quot;return&quot;: [&quot;f64&quot;],                          &quot;parameter&quot;: [&quot;f64&quot;, &quot;f64&quot;],                 &quot;immediate&quot;: [], &quot;b3op&quot;: &quot;Select(Equal(@0, @1), BitAnd(@0, @1), Select(LessThan(@0, @1), @1, Select(GreaterThan(@0, @1), @0, Add(@0, @1))))&quot; },
```

I don&apos;t suspect there is a functional issue here as I don&apos;t think the tests care about &quot;b3op&quot; or &quot;b3type&quot;, but they should probably be synced anyway.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1870856</commentid>
    <comment_count>1</comment_count>
    <who name="Asumu Takikawa">asumu</who>
    <bug_when>2022-05-20 16:04:00 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/866</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871078</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-05-22 23:46:37 -0700</bug_when>
    <thetext>Committed r294627 (250853@main): &lt;https://commits.webkit.org/250853@main&gt;

Reviewed commits have been landed. Closing PR #866 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871079</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-05-22 23:47:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/93741797&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>