Title: [106288] trunk/Source/_javascript_Core
- Revision
- 106288
- Author
- [email protected]
- Date
- 2012-01-30 14:07:23 -0800 (Mon, 30 Jan 2012)
Log Message
Speculative Windows build fix.
* assembler/MacroAssemblerCodeRef.h:
(FunctionPtr):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (106287 => 106288)
--- trunk/Source/_javascript_Core/ChangeLog 2012-01-30 22:01:42 UTC (rev 106287)
+++ trunk/Source/_javascript_Core/ChangeLog 2012-01-30 22:07:23 UTC (rev 106288)
@@ -1,5 +1,12 @@
2012-01-30 Gavin Barraclough <[email protected]>
+ Speculative Windows build fix.
+
+ * assembler/MacroAssemblerCodeRef.h:
+ (FunctionPtr):
+
+2012-01-30 Gavin Barraclough <[email protected]>
+
https://bugs.webkit.org/show_bug.cgi?id=77163
MacroAssemblerCodeRef.h uses OS(WIN) instead of OS(WINDOWS)
Modified: trunk/Source/_javascript_Core/assembler/MacroAssemblerCodeRef.h (106287 => 106288)
--- trunk/Source/_javascript_Core/assembler/MacroAssemblerCodeRef.h 2012-01-30 22:01:42 UTC (rev 106287)
+++ trunk/Source/_javascript_Core/assembler/MacroAssemblerCodeRef.h 2012-01-30 22:07:23 UTC (rev 106288)
@@ -126,7 +126,9 @@
ASSERT_VALID_CODE_POINTER(m_value);
}
-#if CALLING_CONVENTION_IS_STDCALL
+// MSVC doesn't seem to treat functions with different calling conventions as
+// different types; these methods already defined for fastcall, below.
+#if CALLING_CONVENTION_IS_STDCALL && !OS(WINDOWS)
template<typename returnType>
FunctionPtr(returnType (CDECL *value)())
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes