<?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>109511</bug_id>
          
          <creation_ts>2013-02-11 16:12:48 -0800</creation_ts>
          <short_desc>[JSC] DFG might force a local to be double even if we store non-numeric values into it</short_desc>
          <delta_ts>2023-12-17 12:27:37 -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>All</rep_platform>
          <op_sys>All</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="Filip Pizlo">fpizlo</reporter>
          <assigned_to name="Alexey Shvayka">ashvayka</assigned_to>
          <cc>ashvayka</cc>
    
    <cc>barraclough</cc>
    
    <cc>ggaren</cc>
    
    <cc>mark.lam</cc>
    
    <cc>mhahnenberg</cc>
    
    <cc>msaboff</cc>
    
    <cc>oliver</cc>
    
    <cc>sam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>830283</commentid>
    <comment_count>0</comment_count>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2013-02-11 16:12:48 -0800</bug_when>
    <thetext>This appears to happen due to argument positions, and the fact that tallyVotesForShouldUseDoubleFormat() doesn&apos;t set NotUsingDoubleFormat.

A great example of this is the test case for https://bugs.webkit.org/show_bug.cgi?id=109491</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1014517</commentid>
    <comment_count>1</comment_count>
      <attachid>232813</attachid>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2014-06-10 14:02:06 -0700</bug_when>
    <thetext>Created attachment 232813
test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1984715</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Shvayka">ashvayka</who>
    <bug_when>2023-10-12 14:08:30 -0700</bug_when>
    <thetext>&lt;rdar://116397731&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000295</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Shvayka">ashvayka</who>
    <bug_when>2023-12-17 12:27:37 -0800</bug_when>
    <thetext>Fixed in https://github.com/WebKit/WebKit/commit/bf2f05e02c8a12f6b716ea8bc21e62852d8493ac.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>232813</attachid>
            <date>2014-06-10 14:02:06 -0700</date>
            <delta_ts>2014-06-10 14:02:06 -0700</delta_ts>
            <desc>test case</desc>
            <filename>double-inlined-call-argument.js</filename>
            <type>text/plain</type>
            <size>492</size>
            <attacher name="Filip Pizlo">fpizlo</attacher>
            
              <data encoding="base64">ZnVuY3Rpb24gZm9vKGEsIGIsIGMsIHApIHsKICAgIGEgPSBiICsgYzsKICAgIGlmIChwKSB7CiAg
ICAgICAgYSsrOwogICAgICAgIHJldHVybiBhOwogICAgfQp9CgpmdW5jdGlvbiBiYXIoYSwgYikg
ewogICAgcmV0dXJuIGZvbygiaGVsbG8iLCBhLCBiLCBhIDw9IGIpOwp9Cgpub0lubGluZShiYXIp
OwoKZm9yICh2YXIgaSA9IDA7IGkgPCAxMDAwMDA7ICsraSkgewogICAgdmFyIHJlc3VsdCA9IGJh
cigyMDAwMDAwMDAwLCAyMDAwMDAwMDAwLjUpOwogICAgaWYgKHJlc3VsdCAhPSA0MDAwMDAwMDAx
LjUpCiAgICAgICAgdGhyb3cgIkVycm9yOiBiYWQgcmVzdWx0OiAiICsgcmVzdWx0Owp9CgppZiAo
cmVvcHRpbWl6YXRpb25SZXRyeUNvdW50KGJhcikgIT0gMCkKICAgIHRocm93ICJFcnJvcjogc2hv
dWxkIG5vdCBoYXZlIHJlb3B0aW1pemVkIGJhciwgYnV0IHJlb3B0aW1pemVkICIgKyByZW9wdGlt
aXphdGlvblJldHJ5Q291bnQoYmFyKSArICIgdGltZXMuIjsK
</data>

          </attachment>
      

    </bug>

</bugzilla>