<?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>117749</bug_id>
          
          <creation_ts>2013-06-18 12:39:24 -0700</creation_ts>
          <short_desc>Inline call frames fail to initialize unmodified argument slot correctly</short_desc>
          <delta_ts>2013-06-18 16:09:15 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>117602</dup_id>
          
          <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="Oliver Hunt">oliver</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fpizlo</cc>
    
    <cc>oliver</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>901479</commentid>
    <comment_count>0</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2013-06-18 12:39:24 -0700</bug_when>
    <thetext>function g() { f(i) }
function f() { arguments; doStuff();  }
function doStuff() { throw f.arguments; }

var h;

for (var i = 0; i &lt; 100; i++) { try { g() } catch (e) { if (!h) h = e; } }

print(h[0]);

or 

function g() { f(i) }
function f() { arguments; doStuff();  }
function doStuff() { throw f.arguments; }

var h;

for (var i = 0; i &lt; 100; i++) { try { g() } catch (e) { if (i == 90) h = e; } }

print(h[0]);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>901481</commentid>
    <comment_count>1</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2013-06-18 12:40:41 -0700</bug_when>
    <thetext>&lt;rdar://problem/14192906&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>901562</commentid>
    <comment_count>2</comment_count>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2013-06-18 15:43:29 -0700</bug_when>
    <thetext>Is this just a dupe of https://bugs.webkit.org/show_bug.cgi?id=117602?

Isn&apos;t the problem that op_throw in the DFG ByteCodeParser doesn&apos;t flush captured variables correctly?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>901572</commentid>
    <comment_count>3</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2013-06-18 16:09:15 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Is this just a dupe of https://bugs.webkit.org/show_bug.cgi?id=117602?
&gt; 
&gt; Isn&apos;t the problem that op_throw in the DFG ByteCodeParser doesn&apos;t flush captured variables correctly?

Yeah I think so, i filed while i was originally trying to work out what was going wrong.

*** This bug has been marked as a duplicate of bug 117602 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>