<?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>180436</bug_id>
          
          <creation_ts>2017-12-05 12:14:13 -0800</creation_ts>
          <short_desc>[Win64] Compile error in testmasm.cpp.</short_desc>
          <delta_ts>2017-12-05 13:43:17 -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="Per Arne Vollan">pvollan</reporter>
          <assigned_to name="Per Arne Vollan">pvollan</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>keith_miller</cc>
    
    <cc>mark.lam</cc>
    
    <cc>msaboff</cc>
    
    <cc>saam</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1378276</commentid>
    <comment_count>0</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2017-12-05 12:14:13 -0800</bug_when>
    <thetext>Source\JavaScriptCore\assembler\testmasm.cpp(186): warning C4334: &apos;&lt;&lt;&apos;: result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1378278</commentid>
    <comment_count>1</comment_count>
      <attachid>328482</attachid>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2017-12-05 12:22:10 -0800</bug_when>
    <thetext>Created attachment 328482
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1378309</commentid>
    <comment_count>2</comment_count>
      <attachid>328482</attachid>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2017-12-05 13:06:55 -0800</bug_when>
    <thetext>Comment on attachment 328482
Patch

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

r=me with fix.

&gt; Source/JavaScriptCore/assembler/testmasm.cpp:186
&gt; +    }), pointer + offset + (1ll &lt;&lt; static_cast&lt;int&gt;(scale)) * length);

let&apos;s make it static_cast&lt;size_t&gt;(1).  I think that is what we really want.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1378314</commentid>
    <comment_count>3</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2017-12-05 13:16:55 -0800</bug_when>
    <thetext>(In reply to Mark Lam from comment #2)
&gt; Comment on attachment 328482 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=328482&amp;action=review
&gt; 
&gt; r=me with fix.
&gt; 
&gt; &gt; Source/JavaScriptCore/assembler/testmasm.cpp:186
&gt; &gt; +    }), pointer + offset + (1ll &lt;&lt; static_cast&lt;int&gt;(scale)) * length);
&gt; 
&gt; let&apos;s make it static_cast&lt;size_t&gt;(1).  I think that is what we really want.

Thanks for reviewing! I will update before landing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1378337</commentid>
    <comment_count>4</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2017-12-05 13:42:06 -0800</bug_when>
    <thetext>Committed r225536: &lt;https://trac.webkit.org/changeset/225536/webkit&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1378339</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-12-05 13:43:17 -0800</bug_when>
    <thetext>&lt;rdar://problem/35863628&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>328482</attachid>
            <date>2017-12-05 12:22:10 -0800</date>
            <delta_ts>2017-12-05 13:06:55 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-180436-20171205212211.patch</filename>
            <type>text/plain</type>
            <size>1410</size>
            <attacher name="Per Arne Vollan">pvollan</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gMjI1NTI4KQorKysgU291cmNl
L0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE1IEBA
CisyMDE3LTEyLTA1ICBQZXIgQXJuZSBWb2xsYW4gIDxwdm9sbGFuQGFwcGxlLmNvbT4KKworICAg
ICAgICBbV2luNjRdIENvbXBpbGUgZXJyb3IgaW4gdGVzdG1hc20uY3BwLgorICAgICAgICBodHRw
czovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTgwNDM2CisKKyAgICAgICAgUmV2
aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgRml4IE1TVkMgd2FybmluZyAoMzIt
Yml0IHNoaWZ0IGltcGxpY2l0bHkgY29udmVydGVkIHRvIDY0IGJpdHMpLgorICAgICAgICAKKyAg
ICAgICAgKiBhc3NlbWJsZXIvdGVzdG1hc20uY3BwOgorICAgICAgICAoSlNDOjp0ZXN0R2V0RWZm
ZWN0aXZlQWRkcmVzcyk6CisKIDIwMTctMTItMDEgIEZpbGlwIFBpemxvICA8ZnBpemxvQGFwcGxl
LmNvbT4KIAogICAgICAgICBHQyBjb25zdHJhaW50IHNvbHZpbmcgc2hvdWxkIGJlIHBhcmFsbGVs
CkluZGV4OiBTb3VyY2UvSmF2YVNjcmlwdENvcmUvYXNzZW1ibGVyL3Rlc3RtYXNtLmNwcAo9PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09Ci0tLSBTb3VyY2UvSmF2YVNjcmlwdENvcmUvYXNzZW1ibGVyL3Rlc3RtYXNtLmNwcAko
cmV2aXNpb24gMjI1NTI1KQorKysgU291cmNlL0phdmFTY3JpcHRDb3JlL2Fzc2VtYmxlci90ZXN0
bWFzbS5jcHAJKHdvcmtpbmcgY29weSkKQEAgLTE4Myw3ICsxODMsNyBAQCB2b2lkIHRlc3RHZXRF
ZmZlY3RpdmVBZGRyZXNzKHNpemVfdCBwb2luCiAgICAgICAgIGppdC5nZXRFZmZlY3RpdmVBZGRy
ZXNzKENDYWxsSGVscGVyczo6QmFzZUluZGV4KEdQUkluZm86OnJlZ1QwLCBHUFJJbmZvOjpyZWdU
MSwgc2NhbGUsIG9mZnNldCksIEdQUkluZm86OnJldHVyblZhbHVlR1BSKTsKICAgICAgICAgaml0
LmVtaXRGdW5jdGlvbkVwaWxvZ3VlKCk7CiAgICAgICAgIGppdC5yZXQoKTsKLSAgICB9KSwgcG9p
bnRlciArIG9mZnNldCArICgxIDw8IHN0YXRpY19jYXN0PGludD4oc2NhbGUpKSAqIGxlbmd0aCk7
CisgICAgfSksIHBvaW50ZXIgKyBvZmZzZXQgKyAoMWxsIDw8IHN0YXRpY19jYXN0PGludD4oc2Nh
bGUpKSAqIGxlbmd0aCk7CiB9CiAKIC8vIGJyYW5jaFRydW5jYXRlRG91YmxlVG9JbnQzMigpLCB3
aGVuIGVuY291bnRlcmluZyBJbmZpbml0eSwgLUluZmluaXR5IG9yIGEK
</data>
<flag name="review"
          id="347661"
          type_id="1"
          status="+"
          setter="mark.lam"
    />
          </attachment>
      

    </bug>

</bugzilla>