Ignore:
Timestamp:
Nov 7, 2013, 5:55:49 PM (12 years ago)
Author:
[email protected]
Message:

FTL should support NewArray
https://bugs.webkit.org/show_bug.cgi?id=124010

Reviewed by Oliver Hunt.

  • ftl/FTLCapabilities.cpp:

(JSC::FTL::canCompile):

  • ftl/FTLIntrinsicRepository.h:
  • ftl/FTLLowerDFGToLLVM.cpp:

(JSC::FTL::LowerDFGToLLVM::compileNode):
(JSC::FTL::LowerDFGToLLVM::compileNewObject):
(JSC::FTL::LowerDFGToLLVM::compileNewArray):
(JSC::FTL::LowerDFGToLLVM::allocateCell):
(JSC::FTL::LowerDFGToLLVM::allocateObject):
(JSC::FTL::LowerDFGToLLVM::allocateBasicStorageAndGetEnd):
(JSC::FTL::LowerDFGToLLVM::ArrayValues::ArrayValues):
(JSC::FTL::LowerDFGToLLVM::allocateJSArray):

  • ftl/FTLOutput.h:

(JSC::FTL::Output::loadDouble):
(JSC::FTL::Output::storeDouble):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ftl/FTLOutput.h

    r158681 r158891  
    295295    LValue load64(LValue base, const AbstractField& field) { return load64(address(base, field)); }
    296296    LValue loadPtr(LValue base, const AbstractField& field) { return loadPtr(address(base, field)); }
     297    LValue loadDouble(LValue base, const AbstractField& field) { return loadDouble(address(base, field)); }
    297298    void store32(LValue value, LValue base, const AbstractField& field) { store32(value, address(base, field)); }
    298299    void store64(LValue value, LValue base, const AbstractField& field) { store64(value, address(base, field)); }
    299300    void storePtr(LValue value, LValue base, const AbstractField& field) { storePtr(value, address(base, field)); }
     301    void storeDouble(LValue value, LValue base, const AbstractField& field) { storeDouble(value, address(base, field)); }
    300302   
    301303    LValue equal(LValue left, LValue right) { return buildICmp(m_builder, LLVMIntEQ, left, right); }
Note: See TracChangeset for help on using the changeset viewer.