Title: [229557] trunk/Source/_javascript_Core
Revision
229557
Author
mark....@apple.com
Date
2018-03-12 15:24:37 -0700 (Mon, 12 Mar 2018)

Log Message

Gardening: speculative build fix for Windows.
https://bugs.webkit.org/show_bug.cgi?id=183573

Not reviewed.

* runtime/NativeFunction.h:
(JSC::TaggedNativeFunction::TaggedNativeFunction):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (229556 => 229557)


--- trunk/Source/_javascript_Core/ChangeLog	2018-03-12 21:59:39 UTC (rev 229556)
+++ trunk/Source/_javascript_Core/ChangeLog	2018-03-12 22:24:37 UTC (rev 229557)
@@ -1,5 +1,15 @@
 2018-03-12  Mark Lam  <mark....@apple.com>
 
+        Gardening: speculative build fix for Windows.
+        https://bugs.webkit.org/show_bug.cgi?id=183573
+
+        Not reviewed.
+
+        * runtime/NativeFunction.h:
+        (JSC::TaggedNativeFunction::TaggedNativeFunction):
+
+2018-03-12  Mark Lam  <mark....@apple.com>
+
         Add another PtrTag.
         https://bugs.webkit.org/show_bug.cgi?id=183580
         <rdar://problem/38390584>

Modified: trunk/Source/_javascript_Core/runtime/NativeFunction.h (229556 => 229557)


--- trunk/Source/_javascript_Core/runtime/NativeFunction.h	2018-03-12 21:59:39 UTC (rev 229556)
+++ trunk/Source/_javascript_Core/runtime/NativeFunction.h	2018-03-12 22:24:37 UTC (rev 229557)
@@ -68,6 +68,9 @@
     TaggedNativeFunction() = default;
     TaggedNativeFunction(std::nullptr_t) : m_ptr(nullptr) { }
     explicit TaggedNativeFunction(uintptr_t bits) : m_ptr(bitwise_cast<void*>(bits)) { }
+#if COMPILER(MSVC)
+    explicit TaggedNativeFunction(intptr_t bits) : m_ptr(bitwise_cast<void*>(bits)) { }
+#endif
 
     TaggedNativeFunction(NativeFunction func)
         : m_ptr(tagCFunctionPtr<void*>(func.m_ptr, NativeCodePtrTag))
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to