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

Changeset 243898 in webkit


Ignore:
Timestamp:
Apr 4, 2019, 1:41:57 PM (7 years ago)
Author:
ysuzuki@apple.com
Message:

Unreviewed, build fix for CLoop and Windows after r243886
https://bugs.webkit.org/show_bug.cgi?id=196387

RegisterAtOffsetList does not exist if ENABLE(ASSEMBLER) is false.

  • interpreter/StackVisitor.cpp:

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

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

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r243886 r243898  
     12019-04-04  Yusuke Suzuki  <ysuzuki@apple.com>
     2
     3        Unreviewed, build fix for CLoop and Windows after r243886
     4        https://bugs.webkit.org/show_bug.cgi?id=196387
     5
     6        RegisterAtOffsetList does not exist if ENABLE(ASSEMBLER) is false.
     7
     8        * interpreter/StackVisitor.cpp:
     9        (JSC::StackVisitor::Frame::calleeSaveRegistersForUnwinding):
     10        * interpreter/StackVisitor.h:
     11
    1122019-04-04  Saam barati  <sbarati@apple.com>
    213
  • trunk/Source/JavaScriptCore/interpreter/StackVisitor.cpp

    r243886 r243898  
    254254}
    255255
     256#if !ENABLE(C_LOOP) && NUMBER_OF_CALLEE_SAVES_REGISTERS > 0
    256257Optional<RegisterAtOffsetList> StackVisitor::Frame::calleeSaveRegistersForUnwinding()
    257258{
    258259    if (isInlinedFrame())
    259260        return WTF::nullopt;
    260 
    261 #if !ENABLE(C_LOOP) && NUMBER_OF_CALLEE_SAVES_REGISTERS > 0
    262261
    263262#if ENABLE(WEBASSEMBLY)
     
    280279        return *codeBlock->calleeSaveRegisters();
    281280
     281    return WTF::nullopt;
     282}
    282283#endif // !ENABLE(C_LOOP) && NUMBER_OF_CALLEE_SAVES_REGISTERS > 0
    283 
    284     return WTF::nullopt;
    285 }
    286284
    287285String StackVisitor::Frame::functionName() const
  • trunk/Source/JavaScriptCore/interpreter/StackVisitor.h

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