Title: [247844] trunk/Source/_javascript_Core
- Revision
- 247844
- Author
- [email protected]
- Date
- 2019-07-25 16:15:57 -0700 (Thu, 25 Jul 2019)
Log Message
Unreviewed, build fix due to C++17's std::invoke_result_t
https://bugs.webkit.org/show_bug.cgi?id=200139
Use std::result_of for now until all the supported environments implement it.
* heap/IsoSubspace.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (247843 => 247844)
--- trunk/Source/_javascript_Core/ChangeLog 2019-07-25 22:51:28 UTC (rev 247843)
+++ trunk/Source/_javascript_Core/ChangeLog 2019-07-25 23:15:57 UTC (rev 247844)
@@ -1,5 +1,14 @@
2019-07-25 Yusuke Suzuki <[email protected]>
+ Unreviewed, build fix due to C++17's std::invoke_result_t
+ https://bugs.webkit.org/show_bug.cgi?id=200139
+
+ Use std::result_of for now until all the supported environments implement it.
+
+ * heap/IsoSubspace.h:
+
+2019-07-25 Yusuke Suzuki <[email protected]>
+
[JSC] Ensure PackedCellPtr only takes non-large-allocation pointers
https://bugs.webkit.org/show_bug.cgi?id=200139
Modified: trunk/Source/_javascript_Core/heap/IsoSubspace.h (247843 => 247844)
--- trunk/Source/_javascript_Core/heap/IsoSubspace.h 2019-07-25 22:51:28 UTC (rev 247843)
+++ trunk/Source/_javascript_Core/heap/IsoSubspace.h 2019-07-25 23:15:57 UTC (rev 247844)
@@ -72,7 +72,7 @@
template<typename T>
struct isAllocatedFromIsoSubspace {
- static constexpr bool value = std::is_same<std::invoke_result_t<decltype(T::template subspaceFor<T, SubspaceAccess::OnMainThread>), VM&>, IsoSubspace*>::value;
+ static constexpr bool value = std::is_same<std::result_of_t<decltype(T::template subspaceFor<T, SubspaceAccess::OnMainThread>)&(VM&)>, IsoSubspace*>::value;
};
} // namespace JSC
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes