Title: [122595] trunk/Source/_javascript_Core
- Revision
- 122595
- Author
- [email protected]
- Date
- 2012-07-13 09:53:20 -0700 (Fri, 13 Jul 2012)
Log Message
[WIN] Fix compilation of DFGRepatch.cpp
https://bugs.webkit.org/show_bug.cgi?id=91241
Reviewed by Geoffrey Garen.
Use intptr_t instead of uintptr_t when calling CodeLocationCommon::dataLabelPtrAtOffset(int)
to fix MSVC "unary minus operator applied to unsigned type, result still unsigned" warning.
* dfg/DFGRepatch.cpp:
(JSC::DFG::dfgResetGetByID):
(JSC::DFG::dfgResetPutByID):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (122594 => 122595)
--- trunk/Source/_javascript_Core/ChangeLog 2012-07-13 16:35:46 UTC (rev 122594)
+++ trunk/Source/_javascript_Core/ChangeLog 2012-07-13 16:53:20 UTC (rev 122595)
@@ -1,5 +1,19 @@
2012-07-13 Patrick Gansterer <[email protected]>
+ [WIN] Fix compilation of DFGRepatch.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=91241
+
+ Reviewed by Geoffrey Garen.
+
+ Use intptr_t instead of uintptr_t when calling CodeLocationCommon::dataLabelPtrAtOffset(int)
+ to fix MSVC "unary minus operator applied to unsigned type, result still unsigned" warning.
+
+ * dfg/DFGRepatch.cpp:
+ (JSC::DFG::dfgResetGetByID):
+ (JSC::DFG::dfgResetPutByID):
+
+2012-07-13 Patrick Gansterer <[email protected]>
+
Fix ARM_TRADITIONAL JIT for COMPILER(MSVC) and COMPILER(RVCT) after r121885
https://bugs.webkit.org/show_bug.cgi?id=91238
Modified: trunk/Source/_javascript_Core/dfg/DFGRepatch.cpp (122594 => 122595)
--- trunk/Source/_javascript_Core/dfg/DFGRepatch.cpp 2012-07-13 16:35:46 UTC (rev 122594)
+++ trunk/Source/_javascript_Core/dfg/DFGRepatch.cpp 2012-07-13 16:53:20 UTC (rev 122595)
@@ -977,7 +977,7 @@
void dfgResetGetByID(RepatchBuffer& repatchBuffer, StructureStubInfo& stubInfo)
{
repatchBuffer.relink(stubInfo.callReturnLocation, operationGetByIdOptimize);
- repatchBuffer.repatch(stubInfo.callReturnLocation.dataLabelPtrAtOffset(-(uintptr_t)stubInfo.patch.dfg.deltaCheckImmToCall), reinterpret_cast<void*>(-1));
+ repatchBuffer.repatch(stubInfo.callReturnLocation.dataLabelPtrAtOffset(-(intptr_t)stubInfo.patch.dfg.deltaCheckImmToCall), reinterpret_cast<void*>(-1));
#if USE(JSVALUE64)
repatchBuffer.repatch(stubInfo.callReturnLocation.dataLabelCompactAtOffset(stubInfo.patch.dfg.deltaCallToLoadOrStore), 0);
#else
@@ -1002,7 +1002,7 @@
optimizedFunction = operationPutByIdDirectNonStrictOptimize;
}
repatchBuffer.relink(stubInfo.callReturnLocation, optimizedFunction);
- repatchBuffer.repatch(stubInfo.callReturnLocation.dataLabelPtrAtOffset(-(uintptr_t)stubInfo.patch.dfg.deltaCheckImmToCall), reinterpret_cast<void*>(-1));
+ repatchBuffer.repatch(stubInfo.callReturnLocation.dataLabelPtrAtOffset(-(intptr_t)stubInfo.patch.dfg.deltaCheckImmToCall), reinterpret_cast<void*>(-1));
#if USE(JSVALUE64)
repatchBuffer.repatch(stubInfo.callReturnLocation.dataLabel32AtOffset(stubInfo.patch.dfg.deltaCallToLoadOrStore), 0);
#else
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes