Title: [207428] trunk/Source/_javascript_Core
Revision
207428
Author
utatane....@gmail.com
Date
2016-10-17 13:57:28 -0700 (Mon, 17 Oct 2016)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (207427 => 207428)


--- trunk/Source/_javascript_Core/ChangeLog	2016-10-17 20:43:43 UTC (rev 207427)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-10-17 20:57:28 UTC (rev 207428)
@@ -1,5 +1,16 @@
 2016-10-17  Yusuke Suzuki  <utatane....@gmail.com>
 
+        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):
+
+2016-10-17  Yusuke Suzuki  <utatane....@gmail.com>
+
         [DOMJIT] Use DOMJIT::Patchpoint in IC
         https://bugs.webkit.org/show_bug.cgi?id=163223
 

Modified: trunk/Source/_javascript_Core/bytecode/PolymorphicAccess.cpp (207427 => 207428)


--- trunk/Source/_javascript_Core/bytecode/PolymorphicAccess.cpp	2016-10-17 20:43:43 UTC (rev 207427)
+++ trunk/Source/_javascript_Core/bytecode/PolymorphicAccess.cpp	2016-10-17 20:57:28 UTC (rev 207428)
@@ -119,7 +119,7 @@
     unsigned extraStackPadding = 0;
     unsigned numberOfStackBytesUsedForRegisterPreservation = ScratchRegisterAllocator::preserveRegistersToStackForCall(*jit, liveRegisters, extraStackPadding);
     return SpillState {
-        liveRegisters,
+        WTFMove(liveRegisters),
         numberOfStackBytesUsedForRegisterPreservation
     };
 }

Modified: trunk/Source/_javascript_Core/bytecode/PolymorphicAccess.h (207427 => 207428)


--- trunk/Source/_javascript_Core/bytecode/PolymorphicAccess.h	2016-10-17 20:43:43 UTC (rev 207427)
+++ trunk/Source/_javascript_Core/bytecode/PolymorphicAccess.h	2016-10-17 20:57:28 UTC (rev 207428)
@@ -474,6 +474,12 @@
     void succeed();
 
     struct SpillState {
+        SpillState(RegisterSet&& regs, unsigned usedStackBytes)
+            : spilledRegisters(WTFMove(regs))
+            , numberOfStackBytesUsedForRegisterPreservation(usedStackBytes)
+        {
+        }
+
         RegisterSet spilledRegisters { };
         unsigned numberOfStackBytesUsedForRegisterPreservation { std::numeric_limits<unsigned>::max() };
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to