Changeset 96344 in webkit


Ignore:
Timestamp:
Sep 29, 2011 12:07:41 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Bug fixes for CreateThis, NewObject and GetByOffset in JSVALUE32_64 DFG JIT
https://bugs.webkit.org/show_bug.cgi?id=69075

Patch by Yuqiang Xian <yuqiang.xian@intel.com> on 2011-09-29
Reviewed by Gavin Barraclough.

  • dfg/DFGSpeculativeJIT32_64.cpp:

(JSC::DFG::SpeculativeJIT::compile):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r96309 r96344  
     12011-09-29  Yuqiang Xian  <yuqiang.xian@intel.com>
     2
     3        Bug fixes for CreateThis, NewObject and GetByOffset in JSVALUE32_64 DFG JIT
     4        https://bugs.webkit.org/show_bug.cgi?id=69075
     5
     6        Reviewed by Gavin Barraclough.
     7
     8        * dfg/DFGSpeculativeJIT32_64.cpp:
     9        (JSC::DFG::SpeculativeJIT::compile):
     10
    1112011-09-29  Yuqiang Xian  <yuqiang.xian@intel.com>
    212
  • trunk/Source/JavaScriptCore/dfg/DFGSpeculativeJIT32_64.cpp

    r96306 r96344  
    16751675       
    16761676        silentSpillAllRegisters(resultGPR);
    1677         m_jit.move(protoGPR, GPRInfo::argumentGPR1);
    1678         m_jit.move(GPRInfo::callFrameRegister, GPRInfo::argumentGPR0);
     1677        m_jit.push(TrustedImm32(JSValue::CellTag));
     1678        m_jit.push(protoGPR);
     1679        m_jit.push(GPRInfo::callFrameRegister);
    16791680        appendCallWithExceptionCheck(operationCreateThis);
    16801681        m_jit.move(GPRInfo::returnValueGPR, resultGPR);
     
    17031704       
    17041705        silentSpillAllRegisters(resultGPR);
    1705         m_jit.move(GPRInfo::callFrameRegister, GPRInfo::argumentGPR0);
     1706        m_jit.push(GPRInfo::callFrameRegister);
    17061707        appendCallWithExceptionCheck(operationNewObject);
    17071708        m_jit.move(GPRInfo::returnValueGPR, resultGPR);
     
    18351836        GPRReg resultPayloadGPR = resultPayload.gpr();
    18361837       
    1837         storage.use();
    18381838        StorageAccessData& storageAccessData = m_jit.graph().m_storageAccessData[node.storageAccessDataIndex()];
    18391839       
Note: See TracChangeset for help on using the changeset viewer.