Changeset 207428 in webkit


Ignore:
Timestamp:
Oct 17, 2016 1:57:28 PM (8 years ago)
Author:
Yusuke Suzuki
Message:

Unreviewed, build fix for GTK and Windows
https://bugs.webkit.org/show_bug.cgi?id=163223

Attempt to fix build failures in GTK port and Windows port.

  • bytecode/PolymorphicAccess.cpp:
  • bytecode/PolymorphicAccess.h:

(JSC::AccessGenerationState::SpillState::SpillState):

Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r207427 r207428  
     12016-10-17  Yusuke Suzuki  <utatane.tea@gmail.com>
     2
     3        Unreviewed, build fix for GTK and Windows
     4        https://bugs.webkit.org/show_bug.cgi?id=163223
     5
     6        Attempt to fix build failures in GTK port and Windows port.
     7
     8        * bytecode/PolymorphicAccess.cpp:
     9        * bytecode/PolymorphicAccess.h:
     10        (JSC::AccessGenerationState::SpillState::SpillState):
     11
    1122016-10-17  Yusuke Suzuki  <utatane.tea@gmail.com>
    213
  • trunk/Source/JavaScriptCore/bytecode/PolymorphicAccess.cpp

    r207427 r207428  
    120120    unsigned numberOfStackBytesUsedForRegisterPreservation = ScratchRegisterAllocator::preserveRegistersToStackForCall(*jit, liveRegisters, extraStackPadding);
    121121    return SpillState {
    122         liveRegisters,
     122        WTFMove(liveRegisters),
    123123        numberOfStackBytesUsedForRegisterPreservation
    124124    };
  • trunk/Source/JavaScriptCore/bytecode/PolymorphicAccess.h

    r207427 r207428  
    475475
    476476    struct SpillState {
     477        SpillState(RegisterSet&& regs, unsigned usedStackBytes)
     478            : spilledRegisters(WTFMove(regs))
     479            , numberOfStackBytesUsedForRegisterPreservation(usedStackBytes)
     480        {
     481        }
     482
    477483        RegisterSet spilledRegisters { };
    478484        unsigned numberOfStackBytesUsedForRegisterPreservation { std::numeric_limits<unsigned>::max() };
Note: See TracChangeset for help on using the changeset viewer.