Ignore:
Timestamp:
Aug 12, 2011, 1:33:25 PM (14 years ago)
Author:
[email protected]
Message:

REGRESSION (r91610?): Bing Maps fail to initialize (InvalidOperation:
Matrix3D.invert)
https://bugs.webkit.org/show_bug.cgi?id=66038

Patch by Filip Pizlo <[email protected]> on 2011-08-12
Reviewed by Gavin Barraclough.

Simplest and lowest-impact fix for the case where the spilled format
of a DFG node differs from the register format: if the format is
converted then indicate that the spilled value is no longer valid
("kill the spill").

  • dfg/DFGGenerationInfo.h:

(JSC::DFG::GenerationInfo::killSpilled):

  • dfg/DFGJITCodeGenerator.cpp:

(JSC::DFG::JITCodeGenerator::fillDouble):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::fillSpeculateDouble):

File:
1 edited

Legend:

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

    r92892 r92986  
    239239        m_registerFormat = DataFormatNone;
    240240    }
     241   
     242    void killSpilled()
     243    {
     244        m_spillFormat = DataFormatNone;
     245        m_canFill = false;
     246    }
    241247
    242248    // Record that this value is filled into machine registers,
Note: See TracChangeset for help on using the changeset viewer.