Ignore:
Timestamp:
Sep 8, 2011, 2:36:35 PM (14 years ago)
Author:
[email protected]
Message:

DFG speculative JIT does not initialize integer tags for PredictInt32 temporaries
https://bugs.webkit.org/show_bug.cgi?id=67840

Reviewed by Gavin Barraclough.

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::initializeVariableTypes):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp

    r94688 r94801  
    14321432{
    14331433    ASSERT(!m_compileIndex);
    1434     for (int var = 0; var < m_jit.codeBlock()->m_numVars; ++var) {
     1434    for (int var = 0; var < (int)m_jit.graph().predictions().numberOfVariables(); ++var) {
    14351435        if (isInt32Prediction(m_jit.graph().getPrediction(var)))
    14361436            m_jit.storePtr(GPRInfo::tagTypeNumberRegister, JITCompiler::addressFor((VirtualRegister)var));
Note: See TracChangeset for help on using the changeset viewer.