Ignore:
Timestamp:
Sep 6, 2017, 2:04:25 PM (8 years ago)
Author:
[email protected]
Message:

Air should have a Vector of prologue generators instead of a HashMap representing an optional prologue generator
https://bugs.webkit.org/show_bug.cgi?id=176346

Reviewed by Mark Lam.

  • b3/B3Procedure.cpp:

(JSC::B3::Procedure::Procedure):
(JSC::B3::Procedure::setNumEntrypoints):

  • b3/B3Procedure.h:

(JSC::B3::Procedure::setNumEntrypoints): Deleted.

  • b3/air/AirCode.cpp:

(JSC::B3::Air::defaultPrologueGenerator):
(JSC::B3::Air::Code::Code):
(JSC::B3::Air::Code::setNumEntrypoints):

  • b3/air/AirCode.h:

(JSC::B3::Air::Code::setPrologueForEntrypoint):
(JSC::B3::Air::Code::prologueGeneratorForEntrypoint):
(JSC::B3::Air::Code::setEntrypoints):
(JSC::B3::Air::Code::setEntrypointLabels):

  • b3/air/AirGenerate.cpp:

(JSC::B3::Air::generate):

  • ftl/FTLLowerDFGToB3.cpp:

(JSC::FTL::DFG::LowerDFGToB3::lower):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/b3/B3Procedure.h

    r219898 r221703  
    187187   
    188188    unsigned numEntrypoints() const { return m_numEntrypoints; }
    189     void setNumEntrypoints(unsigned numEntrypoints) { m_numEntrypoints = numEntrypoints; }
    190    
     189    JS_EXPORT_PRIVATE void setNumEntrypoints(unsigned);
     190
    191191    // Only call this after code generation is complete. Note that the label for the 0th entrypoint
    192192    // should point to exactly where the code generation cursor was before you started generating
Note: See TracChangeset for help on using the changeset viewer.