⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243907 in webkit


Ignore:
Timestamp:
Apr 4, 2019, 2:39:16 PM (7 years ago)
Author:
sbarati@apple.com
Message:

Unreviewed, build fix for CLoop after r243886

  • interpreter/Interpreter.cpp:

(JSC::UnwindFunctor::copyCalleeSavesToEntryFrameCalleeSavesBuffer const):

  • interpreter/StackVisitor.cpp:

(JSC::StackVisitor::Frame::calleeSaveRegistersForUnwinding):

  • interpreter/StackVisitor.h:
Location:
trunk/Source/JavaScriptCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r243904 r243907  
     12019-04-04  Saam Barati  <sbarati@apple.com>
     2
     3        Unreviewed, build fix for CLoop after r243886
     4
     5        * interpreter/Interpreter.cpp:
     6        (JSC::UnwindFunctor::copyCalleeSavesToEntryFrameCalleeSavesBuffer const):
     7        * interpreter/StackVisitor.cpp:
     8        (JSC::StackVisitor::Frame::calleeSaveRegistersForUnwinding):
     9        * interpreter/StackVisitor.h:
     10
    1112019-04-04  Commit Queue  <commit-queue@webkit.org>
    212
  • trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp

    r243886 r243907  
    571571    void copyCalleeSavesToEntryFrameCalleeSavesBuffer(StackVisitor& visitor) const
    572572    {
    573 #if !ENABLE(C_LOOP) && NUMBER_OF_CALLEE_SAVES_REGISTERS > 0
     573#if ENABLE(ASSEMBLER)
    574574        Optional<RegisterAtOffsetList> currentCalleeSaves = visitor->calleeSaveRegistersForUnwinding();
    575575
  • trunk/Source/JavaScriptCore/interpreter/StackVisitor.cpp

    r243904 r243907  
    254254}
    255255
     256#if ENABLE(ASSEMBLER)
    256257Optional<RegisterAtOffsetList> StackVisitor::Frame::calleeSaveRegistersForUnwinding()
    257258{
     259    if (!NUMBER_OF_CALLEE_SAVES_REGISTERS)
     260        return WTF::nullopt;
     261
    258262    if (isInlinedFrame())
    259263        return WTF::nullopt;
    260 
    261 #if !ENABLE(C_LOOP) && NUMBER_OF_CALLEE_SAVES_REGISTERS > 0
    262264
    263265#if ENABLE(WEBASSEMBLY)
     
    280282        return *codeBlock->calleeSaveRegisters();
    281283
    282 #endif // !ENABLE(C_LOOP) && NUMBER_OF_CALLEE_SAVES_REGISTERS > 0
    283 
    284284    return WTF::nullopt;
    285285}
     286#endif // ENABLE(ASSEMBLER)
    286287
    287288String StackVisitor::Frame::functionName() const
  • trunk/Source/JavaScriptCore/interpreter/StackVisitor.h

    r243904 r243907  
    9595        JS_EXPORT_PRIVATE void computeLineAndColumn(unsigned& line, unsigned& column) const;
    9696
     97#if ENABLE(ASSEMBLER)
    9798        Optional<RegisterAtOffsetList> calleeSaveRegistersForUnwinding();
     99#endif
    98100
    99101        ClonedArguments* createArguments();
Note: See TracChangeset for help on using the changeset viewer.