<?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>226401</bug_id>
          
          <creation_ts>2021-05-28 15:45:10 -0700</creation_ts>
          <short_desc>Non-unified build fixes, late-ish May 2021 edition redux</short_desc>
          <delta_ts>2021-06-03 08:04:44 -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>Tools / Tests</component>
          <version>WebKit Local 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>
          
          <blocked>226088</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian Perez">aperez</reporter>
          <assigned_to name="Adrian Perez">aperez</assigned_to>
          <cc>don.olmstead</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>keith_miller</cc>
    
    <cc>mark.lam</cc>
    
    <cc>msaboff</cc>
    
    <cc>saam</cc>
    
    <cc>tzagallo</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1764970</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2021-05-28 15:45:10 -0700</bug_when>
    <thetext>☢️</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1764974</commentid>
    <comment_count>1</comment_count>
      <attachid>430064</attachid>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2021-05-28 15:47:18 -0700</bug_when>
    <thetext>Created attachment 430064
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1765071</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-05-29 03:09:26 -0700</bug_when>
    <thetext>Committed r278237 (238274@main): &lt;https://commits.webkit.org/238274@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 430064.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1765072</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-05-29 03:10:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/78646851&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1765086</commentid>
    <comment_count>4</comment_count>
      <attachid>430064</attachid>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2021-05-29 08:05:05 -0700</bug_when>
    <thetext>Comment on attachment 430064
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=430064&amp;action=review

&gt; Source/JavaScriptCore/jit/JITSizeStatistics.h:31
&gt; +#include &quot;CCallHelpers.h&quot;

This is the wrong thing to do because this header file doesn&apos;t really depend on CCallHelpers.h.

The right thing to do is to #include &quot;CCallHelpers.h&quot; in the files that actually uses JITSizeStatistics::markStart and markEnd.  AFAICT, the only files that need it are JIT.cpp and DFGSpeculativeJIT.cpp, and those files already #include CCallHelpers.h indirectly.  So, what is motivating this change?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1765202</commentid>
    <comment_count>5</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2021-05-30 03:16:06 -0700</bug_when>
    <thetext>(In reply to Mark Lam from comment #4)
&gt; Comment on attachment 430064 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=430064&amp;action=review
&gt; 
&gt; &gt; Source/JavaScriptCore/jit/JITSizeStatistics.h:31
&gt; &gt; +#include &quot;CCallHelpers.h&quot;
&gt; 
&gt; This is the wrong thing to do because this header file doesn&apos;t really depend
&gt; on CCallHelpers.h.
&gt;
&gt; The right thing to do is to #include &quot;CCallHelpers.h&quot; in the files that
&gt; actually uses JITSizeStatistics::markStart and markEnd.  AFAICT, the only
&gt; files that need it are JIT.cpp and DFGSpeculativeJIT.cpp, and those files
&gt; already #include CCallHelpers.h indirectly.  So, what is motivating this
&gt; change?

In JITSizeStatistics.h there is an use of the CCallHelpers::Label
type, which is defined all the way up the class inheritance chain
in the AbstractMacroAssembler&lt;T&gt;. I gave it a small spin at trying
to figure out the correct “T” to use but it ended up needing to know
the particular type for the current target architecture and anyway
needed including headers that CCallHelpers.h itself is already
including… in the end it seemed easier and much more readable to
keep the CCallHelpers::Label usage as-is and include CCallHelper.h

If anybody has a better suggestion on how to get a definition for
the CCallHelpers::Label type I can try to give it a try.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1766160</commentid>
    <comment_count>6</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2021-06-02 14:25:11 -0700</bug_when>
    <thetext>(In reply to Adrian Perez from comment #5)
&gt; (In reply to Mark Lam from comment #4)
&gt; &gt; Comment on attachment 430064 [details]
&gt; &gt; Patch
&gt; &gt; 
&gt; &gt; View in context:
&gt; &gt; https://bugs.webkit.org/attachment.cgi?id=430064&amp;action=review
&gt; &gt; 
&gt; &gt; &gt; Source/JavaScriptCore/jit/JITSizeStatistics.h:31
&gt; &gt; &gt; +#include &quot;CCallHelpers.h&quot;
&gt; &gt; 
&gt; &gt; This is the wrong thing to do because this header file doesn&apos;t really depend
&gt; &gt; on CCallHelpers.h.
&gt; &gt;
&gt; &gt; The right thing to do is to #include &quot;CCallHelpers.h&quot; in the files that
&gt; &gt; actually uses JITSizeStatistics::markStart and markEnd.  AFAICT, the only
&gt; &gt; files that need it are JIT.cpp and DFGSpeculativeJIT.cpp, and those files
&gt; &gt; already #include CCallHelpers.h indirectly.  So, what is motivating this
&gt; &gt; change?
&gt; 
&gt; In JITSizeStatistics.h there is an use of the CCallHelpers::Label
&gt; type, which is defined all the way up the class inheritance chain
&gt; in the AbstractMacroAssembler&lt;T&gt;. I gave it a small spin at trying
&gt; to figure out the correct “T” to use but it ended up needing to know
&gt; the particular type for the current target architecture and anyway
&gt; needed including headers that CCallHelpers.h itself is already
&gt; including… in the end it seemed easier and much more readable to
&gt; keep the CCallHelpers::Label usage as-is and include CCallHelper.h
&gt; 
&gt; If anybody has a better suggestion on how to get a definition for
&gt; the CCallHelpers::Label type I can try to give it a try.

I stand corrected.  That&apos;s unfortunate.  Thanks for explaining.  We could have just used MacroAssembler::Label, but then, we&apos;d still be #include&apos;ing MacroAssembler.h.  Given this, it&apos;s not worth thinking more about this issue.  Your fix is correct.  Sorry for the noise.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1766388</commentid>
    <comment_count>7</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2021-06-03 08:04:44 -0700</bug_when>
    <thetext>(In reply to Mark Lam from comment #6)
&gt; (In reply to Adrian Perez from comment #5)
&gt; &gt; (In reply to Mark Lam from comment #4)
&gt; &gt; &gt; Comment on attachment 430064 [details]
&gt; &gt; &gt; Patch
&gt; &gt; &gt; 
&gt; &gt; &gt; View in context:
&gt; &gt; &gt; https://bugs.webkit.org/attachment.cgi?id=430064&amp;action=review
&gt; &gt; &gt; 
&gt; &gt; &gt; &gt; Source/JavaScriptCore/jit/JITSizeStatistics.h:31
&gt; &gt; &gt; &gt; +#include &quot;CCallHelpers.h&quot;
&gt; &gt; &gt; 
&gt; &gt; &gt; This is the wrong thing to do because this header file doesn&apos;t really depend
&gt; &gt; &gt; on CCallHelpers.h.
&gt; &gt; &gt;
&gt; &gt; &gt; The right thing to do is to #include &quot;CCallHelpers.h&quot; in the files that
&gt; &gt; &gt; actually uses JITSizeStatistics::markStart and markEnd.  AFAICT, the only
&gt; &gt; &gt; files that need it are JIT.cpp and DFGSpeculativeJIT.cpp, and those files
&gt; &gt; &gt; already #include CCallHelpers.h indirectly.  So, what is motivating this
&gt; &gt; &gt; change?
&gt; &gt; 
&gt; &gt; In JITSizeStatistics.h there is an use of the CCallHelpers::Label
&gt; &gt; type, which is defined all the way up the class inheritance chain
&gt; &gt; in the AbstractMacroAssembler&lt;T&gt;. I gave it a small spin at trying
&gt; &gt; to figure out the correct “T” to use but it ended up needing to know
&gt; &gt; the particular type for the current target architecture and anyway
&gt; &gt; needed including headers that CCallHelpers.h itself is already
&gt; &gt; including… in the end it seemed easier and much more readable to
&gt; &gt; keep the CCallHelpers::Label usage as-is and include CCallHelper.h
&gt; &gt; 
&gt; &gt; If anybody has a better suggestion on how to get a definition for
&gt; &gt; the CCallHelpers::Label type I can try to give it a try.
&gt; 
&gt; I stand corrected.  That&apos;s unfortunate.  Thanks for explaining.  We could
&gt; have just used MacroAssembler::Label, but then, we&apos;d still be #include&apos;ing
&gt; MacroAssembler.h.  Given this, it&apos;s not worth thinking more about this
&gt; issue.  Your fix is correct.  Sorry for the noise.

No problem at all, that&apos;s what we are here for—making WebKit as good
as we can :)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>430064</attachid>
            <date>2021-05-28 15:47:18 -0700</date>
            <delta_ts>2021-05-29 03:09:27 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-226401-20210529014717.patch</filename>
            <type>text/plain</type>
            <size>1950</size>
            <attacher name="Adrian Perez">aperez</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjc4MjE3CmRpZmYgLS1naXQgYS9Tb3VyY2UvSmF2YVNjcmlw
dENvcmUvQ2hhbmdlTG9nIGIvU291cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwppbmRleCBj
NGYzZjg5ZjRlZmViNWY5ZTZkM2EzMTUwNzdmNWYyY2NjZGI5MDk0Li4xYjFjMzZiNTE2ZjE1NTFi
MzY3Mjc3YWNlYmYxODE1MDQ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