<?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>264299</bug_id>
          
          <creation_ts>2023-11-06 15:41:14 -0800</creation_ts>
          <short_desc>[JSC] Use simpler helpers for repatching</short_desc>
          <delta_ts>2023-11-10 05:05:09 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</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="Yusuke Suzuki">ysuzuki</reporter>
          <assigned_to name="Diego Pino">dpino</assigned_to>
          <cc>dpino</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1990331</commentid>
    <comment_count>0</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2023-11-06 15:41:14 -0800</bug_when>
    <thetext>...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1990332</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-06 15:41:29 -0800</bug_when>
    <thetext>&lt;rdar://problem/118023749&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1990333</commentid>
    <comment_count>2</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2023-11-06 15:43:08 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20069</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1990646</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-07 13:48:53 -0800</bug_when>
    <thetext>Committed 270351@main (f5d367e64491): &lt;https://commits.webkit.org/270351@main&gt;

Reviewed commits have been landed. Closing PR #20069 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991099</commentid>
    <comment_count>4</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2023-11-09 01:29:40 -0800</bug_when>
    <thetext>Debian 11 bot is failing witht the following error:

https://build.webkit.org/#/builders/46/builds/34680

./../../Source/JavaScriptCore/assembler/X86Assembler.h: In static member function ‘static void JSC::X86Assembler::replaceWithNops(void*, size_t)’:
../../../Source/JavaScriptCore/assembler/X86Assembler.h:6396:71: error: no matching function for call to ‘JSC::X86Assembler::fillNops&lt;memcpy&gt;(void*&amp;, size_t&amp;)’
 6396 |         fillNops&lt;memcpy&gt;(instructionStart, memoryToFillWithNopsInBytes);
      |                                                                       ^
../../../Source/JavaScriptCore/assembler/X86Assembler.h:6513:17: note: candidate: ‘template&lt;void* (&amp; copy)(void*, const void*, size_t)&gt; static void JSC::X86Assembler::fillNops(void*, size_t)’
 6513 |     static void fillNops(void* base, size_t size)
      |                 ^~~~~~~~
../../../Source/JavaScriptCore/assembler/X86Assembler.h:6513:17: note:   template argument deduction/substitution failed:
../../../Source/JavaScriptCore/assembler/X86Assembler.h:6396:71: error: ‘(void* (&amp;)(void*, const void*, size_t))memcpy’ is not a valid template argument for type ‘void* (&amp;)(void*, const void*, size_t)’ {aka ‘void* (&amp;)(void*, const void*, long unsigned int)’}
 6396 |         fillNops&lt;memcpy&gt;(instructionStart, memoryToFillWithNopsInBytes);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991102</commentid>
    <comment_count>5</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2023-11-09 01:34:10 -0800</bug_when>
    <thetext>Re-opening for pull request https://github.com/webkit/webkit/pull/20220</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991502</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-10 05:05:06 -0800</bug_when>
    <thetext>Committed 270526@main (32983feb344b): &lt;https://commits.webkit.org/270526@main&gt;

Reviewed commits have been landed. Closing PR #20220 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>