Title: [96309] trunk/Source/_javascript_Core
- Revision
- 96309
- Author
- [email protected]
- Date
- 2011-09-29 00:52:49 -0700 (Thu, 29 Sep 2011)
Log Message
JSVALUE32_64 DFG JIT failed to be built on 32-bit Linux due to incorrect overloaded OpInfo constructor
https://bugs.webkit.org/show_bug.cgi?id=69054
Patch by Yuqiang Xian <[email protected]> on 2011-09-29
Reviewed by Gavin Barraclough.
size_t is equal to uint32_t on most 32-bit platforms, except for Mac OS.
* dfg/DFGNode.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (96308 => 96309)
--- trunk/Source/_javascript_Core/ChangeLog 2011-09-29 07:33:46 UTC (rev 96308)
+++ trunk/Source/_javascript_Core/ChangeLog 2011-09-29 07:52:49 UTC (rev 96309)
@@ -1,3 +1,14 @@
+2011-09-29 Yuqiang Xian <[email protected]>
+
+ JSVALUE32_64 DFG JIT failed to be built on 32-bit Linux due to incorrect overloaded OpInfo constructor
+ https://bugs.webkit.org/show_bug.cgi?id=69054
+
+ Reviewed by Gavin Barraclough.
+
+ size_t is equal to uint32_t on most 32-bit platforms, except for Mac OS.
+
+ * dfg/DFGNode.h:
+
2011-09-28 Filip Pizlo <[email protected]>
DFG checkArgumentTypes fails to check boolean predictions
Modified: trunk/Source/_javascript_Core/dfg/DFGNode.h (96308 => 96309)
--- trunk/Source/_javascript_Core/dfg/DFGNode.h 2011-09-29 07:33:46 UTC (rev 96308)
+++ trunk/Source/_javascript_Core/dfg/DFGNode.h 2011-09-29 07:52:49 UTC (rev 96309)
@@ -342,7 +342,9 @@
struct OpInfo {
explicit OpInfo(int32_t value) : m_value(static_cast<uintptr_t>(value)) { }
explicit OpInfo(uint32_t value) : m_value(static_cast<uintptr_t>(value)) { }
+#if OS(DARWIN) || USE(JSVALUE64)
explicit OpInfo(size_t value) : m_value(static_cast<uintptr_t>(value)) { }
+#endif
explicit OpInfo(void* value) : m_value(reinterpret_cast<uintptr_t>(value)) { }
uintptr_t m_value;
};
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes