Title: [225536] trunk/Source/_javascript_Core
- Revision
- 225536
- Author
- [email protected]
- Date
- 2017-12-05 13:40:57 -0800 (Tue, 05 Dec 2017)
Log Message
[Win64] Compile error in testmasm.cpp.
https://bugs.webkit.org/show_bug.cgi?id=180436
Reviewed by Mark Lam.
Fix MSVC warning (32-bit shift implicitly converted to 64 bits).
* assembler/testmasm.cpp:
(JSC::testGetEffectiveAddress):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (225535 => 225536)
--- trunk/Source/_javascript_Core/ChangeLog 2017-12-05 21:36:01 UTC (rev 225535)
+++ trunk/Source/_javascript_Core/ChangeLog 2017-12-05 21:40:57 UTC (rev 225536)
@@ -1,3 +1,15 @@
+2017-12-05 Per Arne Vollan <[email protected]>
+
+ [Win64] Compile error in testmasm.cpp.
+ https://bugs.webkit.org/show_bug.cgi?id=180436
+
+ Reviewed by Mark Lam.
+
+ Fix MSVC warning (32-bit shift implicitly converted to 64 bits).
+
+ * assembler/testmasm.cpp:
+ (JSC::testGetEffectiveAddress):
+
2017-12-01 Filip Pizlo <[email protected]>
GC constraint solving should be parallel
Modified: trunk/Source/_javascript_Core/assembler/testmasm.cpp (225535 => 225536)
--- trunk/Source/_javascript_Core/assembler/testmasm.cpp 2017-12-05 21:36:01 UTC (rev 225535)
+++ trunk/Source/_javascript_Core/assembler/testmasm.cpp 2017-12-05 21:40:57 UTC (rev 225536)
@@ -183,7 +183,7 @@
jit.getEffectiveAddress(CCallHelpers::BaseIndex(GPRInfo::regT0, GPRInfo::regT1, scale, offset), GPRInfo::returnValueGPR);
jit.emitFunctionEpilogue();
jit.ret();
- }), pointer + offset + (1 << static_cast<int>(scale)) * length);
+ }), pointer + offset + (static_cast<size_t>(1) << static_cast<int>(scale)) * length);
}
// branchTruncateDoubleToInt32(), when encountering Infinity, -Infinity or a
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes