<?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>69552</bug_id>
          
          <creation_ts>2011-10-06 12:52:22 -0700</creation_ts>
          <short_desc>DFG implementation of UInt32ToNumber is missing a break statement</short_desc>
          <delta_ts>2011-10-06 14:45:57 -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>JavaScriptCore</component>
          <version>528+ (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></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="Nobody">webkit-unassigned</assigned_to>
          <cc>ggaren</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>479402</commentid>
    <comment_count>0</comment_count>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2011-10-06 12:52:22 -0700</bug_when>
    <thetext>This may result in bizarre code generation behavior or crashes when compiling a UInt32ToNumber that must perform a double conversion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>479403</commentid>
    <comment_count>1</comment_count>
      <attachid>109999</attachid>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2011-10-06 12:54:32 -0700</bug_when>
    <thetext>Created attachment 109999
the patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>479404</commentid>
    <comment_count>2</comment_count>
      <attachid>109999</attachid>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2011-10-06 12:55:13 -0700</bug_when>
    <thetext>Comment on attachment 109999
the patch

ouch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>479488</commentid>
    <comment_count>3</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2011-10-06 14:30:19 -0700</bug_when>
    <thetext>Can this be regression tested?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>479501</commentid>
    <comment_count>4</comment_count>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2011-10-06 14:42:27 -0700</bug_when>
    <thetext>Landed in r96860.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>479508</commentid>
    <comment_count>5</comment_count>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2011-10-06 14:45:57 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Can this be regression tested?

I think we should strive to do this right, in one go: https://bugs.webkit.org/show_bug.cgi?id=69565

The DFG&apos;s speculation on arithmetic operations is starting to stabilize to the point where it can be succinctly described and elegantly tested.  I think we should take a break at some point from adding new bugs to the DFG and figure out a testing harness that can do this the right way, and uniformly, to minimize the number of redundant tests that we add.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>109999</attachid>
            <date>2011-10-06 12:54:32 -0700</date>
            <delta_ts>2011-10-06 12:55:13 -0700</delta_ts>
            <desc>the patch</desc>
            <filename>fixbreak_patch_1.diff</filename>
            <type>text/plain</type>
            <size>1800</size>
            <attacher name="Filip Pizlo">fpizlo</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gOT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Tb3VyY2UvSmF2YVNjcmlwdENvcmUvZGZnL0RGR1NwZWN1bGF0aXZlSklUMzJfNjQuY3BwCSh3
b3JraW5nIGNvcHkpCkBAIC04MDMsNiArODAzLDcgQEAgdm9pZCBTcGVjdWxhdGl2ZUpJVDo6Y29t
cGlsZShOb2RlJiBub2RlKQogICAgICAgICAgICAgcG9zaXRpdmUubGluaygmbV9qaXQpOwogICAg
ICAgICAgICAgCiAgICAgICAgICAgICBkb3VibGVSZXN1bHQob3V0cHV0RlBSLCBtX2NvbXBpbGVJ
bmRleCk7CisgICAgICAgICAgICBicmVhazsKICAgICAgICAgfQogCiAgICAgICAgIEludGVnZXJP
cGVyYW5kIG9wMSh0aGlzLCBub2RlLmNoaWxkMSgpKTsKSW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0
Q29yZS9kZmcvREZHU3BlY3VsYXRpdmVKSVQ2NC5jcHAKPT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291cmNlL0ph
dmFTY3JpcHRDb3JlL2RmZy9ERkdTcGVjdWxhdGl2ZUpJVDY0LmNwcAkocmV2aXNpb24gOTY3ODYp
CisrKyBTb3VyY2UvSmF2YVNjcmlwdENvcmUvZGZnL0RGR1NwZWN1bGF0aXZlSklUNjQuY3BwCSh3
b3JraW5nIGNvcHkpCkBAIC05MjQsNiArOTI0LDcgQEAgdm9pZCBTcGVjdWxhdGl2ZUpJVDo6Y29t
cGlsZShOb2RlJiBub2RlKQogICAgICAgICAgICAgcG9zaXRpdmUubGluaygmbV9qaXQpOwogICAg
ICAgICAgICAgCiAgICAgICAgICAgICBkb3VibGVSZXN1bHQob3V0cHV0RlBSLCBtX2NvbXBpbGVJ
bmRleCk7CisgICAgICAgICAgICBicmVhazsKICAgICAgICAgfQogCiAgICAgICAgIEludGVnZXJP
cGVyYW5kIG9wMSh0aGlzLCBub2RlLmNoaWxkMSgpKTsK
</data>
<flag name="review"
          id="107374"
          type_id="1"
          status="+"
          setter="oliver"
    />
          </attachment>
      

    </bug>

</bugzilla>