Title: [223971] trunk/Source/_javascript_Core
- Revision
- 223971
- Author
- [email protected]
- Date
- 2017-10-25 12:06:42 -0700 (Wed, 25 Oct 2017)
Log Message
Fix implicit cast of enum, which seems to break the windows build of unified sources.
https://bugs.webkit.org/show_bug.cgi?id=178822
Reviewed by Saam Barati.
* bytecode/DFGExitProfile.h:
(JSC::DFG::FrequentExitSite::hash const):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (223970 => 223971)
--- trunk/Source/_javascript_Core/ChangeLog 2017-10-25 19:02:28 UTC (rev 223970)
+++ trunk/Source/_javascript_Core/ChangeLog 2017-10-25 19:06:42 UTC (rev 223971)
@@ -1,3 +1,13 @@
+2017-10-25 Keith Miller <[email protected]>
+
+ Fix implicit cast of enum, which seems to break the windows build of unified sources.
+ https://bugs.webkit.org/show_bug.cgi?id=178822
+
+ Reviewed by Saam Barati.
+
+ * bytecode/DFGExitProfile.h:
+ (JSC::DFG::FrequentExitSite::hash const):
+
2017-10-24 Michael Saboff <[email protected]>
Allow OjbC Weak References when building TestAPI
Modified: trunk/Source/_javascript_Core/bytecode/DFGExitProfile.h (223970 => 223971)
--- trunk/Source/_javascript_Core/bytecode/DFGExitProfile.h 2017-10-25 19:02:28 UTC (rev 223970)
+++ trunk/Source/_javascript_Core/bytecode/DFGExitProfile.h 2017-10-25 19:06:42 UTC (rev 223971)
@@ -97,7 +97,7 @@
unsigned hash() const
{
- return WTF::intHash(m_bytecodeOffset) + m_kind + m_jitType * 7;
+ return WTF::intHash(m_bytecodeOffset) + m_kind + static_cast<std::underlying_type_t<ExitingJITType>>(m_jitType) * 7;
}
unsigned bytecodeOffset() const { return m_bytecodeOffset; }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes