Ignore:
Timestamp:
Sep 20, 2013, 5:00:30 PM (12 years ago)
Author:
[email protected]
Message:

REGRESSION(r153215): New iCloud site crashes
https://bugs.webkit.org/show_bug.cgi?id=121710

Reviewed by Filip Pizlo.

Source/JavaScriptCore:

Don't claim to be able to rely on the arguments structure, use the Arguments
speculation type

  • dfg/DFGAbstractInterpreterInlines.h:

(JSC::DFG::::executeEffects):

LayoutTests:

New test case

  • js/dfg-arguments-mutated-structure-expected.txt: Added.
  • js/dfg-arguments-mutated-structure.html: Added.
  • js/script-tests/dfg-arguments-mutated-structure.js: Added.

(foo):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h

    r156047 r156211  
    11211121        m_state.setHaveStructures(true);
    11221122        break;
    1123        
     1123   
    11241124    case CreateArguments:
    1125         forNode(node).set(
    1126             m_graph, m_codeBlock->globalObjectFor(node->codeOrigin)->argumentsStructure());
    1127         m_state.setHaveStructures(true);
     1125        forNode(node).setType(SpecArguments);
    11281126        break;
    11291127       
Note: See TracChangeset for help on using the changeset viewer.