<?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>97416</bug_id>
          
          <creation_ts>2012-09-23 17:08:00 -0700</creation_ts>
          <short_desc>PutScopedVar should not be marked as clobbering the world</short_desc>
          <delta_ts>2012-09-23 20:47:22 -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>New Bugs</component>
          <version>528+ (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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Geoffrey Garen">ggaren</reporter>
          <assigned_to name="Geoffrey Garen">ggaren</assigned_to>
          <cc>fpizlo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>726318</commentid>
    <comment_count>0</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2012-09-23 17:08:00 -0700</bug_when>
    <thetext>PutScopedVar should not be marked as clobbering the world</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>726319</commentid>
    <comment_count>1</comment_count>
      <attachid>165297</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2012-09-23 17:08:36 -0700</bug_when>
    <thetext>Created attachment 165297
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>726320</commentid>
    <comment_count>2</comment_count>
      <attachid>165297</attachid>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2012-09-23 17:14:07 -0700</bug_when>
    <thetext>Comment on attachment 165297
Patch

I think you&apos;ve already covered your bases, but before landing I would go through the cases in CSE one more time and make sure that nothing has slipped by.  In your case, you&apos;re probably fine since we don&apos;t inline PutScopedVar, and we never have PutScopedVar on *this frame&apos;s* locals, and I don&apos;t think we do any CSE on resolve&apos;s.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>726359</commentid>
    <comment_count>3</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2012-09-23 20:45:54 -0700</bug_when>
    <thetext>&gt; we don&apos;t inline PutScopedVar

Yeah.

&gt; and we never have PutScopedVar on *this frame&apos;s* locals

Yup. (Or, when we do, we use get/put_scoped_var exclusively, and not local variable references.)

&gt; and I don&apos;t think we do any CSE on resolve&apos;s.

Also true.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>726360</commentid>
    <comment_count>4</comment_count>
      <attachid>165297</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2012-09-23 20:47:20 -0700</bug_when>
    <thetext>Comment on attachment 165297
Patch

Clearing flags on attachment: 165297

Committed r129325: &lt;http://trac.webkit.org/changeset/129325&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>726361</commentid>
    <comment_count>5</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2012-09-23 20:47:22 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>165297</attachid>
            <date>2012-09-23 17:08:36 -0700</date>
            <delta_ts>2012-09-23 20:47:20 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-97416-20120923170805.patch</filename>
            <type>text/plain</type>
            <size>1417</size>
            <attacher name="Geoffrey Garen">ggaren</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gMTI5MzE3KQorKysgU291cmNl
L0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE4IEBA
CisyMDEyLTA5LTIzICBHZW9mZnJleSBHYXJlbiAgPGdnYXJlbkBhcHBsZS5jb20+CisKKyAgICAg
ICAgUHV0U2NvcGVkVmFyIHNob3VsZCBub3QgYmUgbWFya2VkIGFzIGNsb2JiZXJpbmcgdGhlIHdv
cmxkCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD05NzQx
NgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIE5vIHBl
cmZvcm1hbmNlIGNoYW5nZS4KKworICAgICAgICBQdXRTY29wZWRWYXIgZG9lc24ndCBoYXZlIGFy
Yml0cmFyeSBzaWRlLWVmZmVjdHMsIHNvIGl0IHNob3VsZG4ndCBiZSBtYXJrZWQKKyAgICAgICAg
YXMgc3VjaC4KKworICAgICAgICAqIGRmZy9ERkdOb2RlVHlwZS5oOgorICAgICAgICAoREZHKToK
KwogMjAxMi0wOS0yMyAgR2F2aW4gQmFycmFjbG91Z2ggIDxiYXJyYWNsb3VnaEBhcHBsZS5jb20+
CiAKICAgICAgICAgU29ydGluZyBhIG5vbi1hcnJheSBjcmVhdGVzIHByb3ByZXRpZXMgKHNwZWMt
dmlvbGF0aW9uKQpJbmRleDogU291cmNlL0phdmFTY3JpcHRDb3JlL2RmZy9ERkdOb2RlVHlwZS5o
Cj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT0KLS0tIFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9kZmcvREZHTm9kZVR5cGUuaAko
cmV2aXNpb24gMTI5MzE2KQorKysgU291cmNlL0phdmFTY3JpcHRDb3JlL2RmZy9ERkdOb2RlVHlw
ZS5oCSh3b3JraW5nIGNvcHkpCkBAIC0xNDcsNyArMTQ3LDcgQEAgbmFtZXNwYWNlIEpTQyB7IG5h
bWVzcGFjZSBERkcgewogICAgIG1hY3JvKEdldFNjb3BlLCBOb2RlUmVzdWx0SlMpIFwKICAgICBt
YWNybyhHZXRTY29wZVJlZ2lzdGVycywgTm9kZVJlc3VsdFN0b3JhZ2UpIFwKICAgICBtYWNybyhH
ZXRTY29wZWRWYXIsIE5vZGVSZXN1bHRKUykgXAotICAgIG1hY3JvKFB1dFNjb3BlZFZhciwgTm9k
ZU11c3RHZW5lcmF0ZSB8IE5vZGVDbG9iYmVyc1dvcmxkKSBcCisgICAgbWFjcm8oUHV0U2NvcGVk
VmFyLCBOb2RlTXVzdEdlbmVyYXRlKSBcCiAgICAgbWFjcm8oR2V0R2xvYmFsVmFyLCBOb2RlUmVz
dWx0SlMpIFwKICAgICBtYWNybyhQdXRHbG9iYWxWYXIsIE5vZGVNdXN0R2VuZXJhdGUpIFwKICAg
ICBtYWNybyhHbG9iYWxWYXJXYXRjaHBvaW50LCBOb2RlTXVzdEdlbmVyYXRlKSBcCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>