Revision: 2804
Author: [email protected]
Date: Tue Sep 1 09:29:35 2009
Log: Revert the accidental cast change in codegen-x64 for the trunk push.
http://code.google.com/p/v8/source/detail?r=2804
Modified:
/trunk/src/x64/codegen-x64.cc
=======================================
--- /trunk/src/x64/codegen-x64.cc Tue Sep 1 09:23:26 2009
+++ /trunk/src/x64/codegen-x64.cc Tue Sep 1 09:29:35 2009
@@ -6377,7 +6377,7 @@
// One operand is a smi.
// Check whether the non-smi is a heap number.
- ASSERT_EQ(static_cast<intptr_t>(1), kSmiTagMask);
+ ASSERT_EQ(1, kSmiTagMask);
// rcx still holds rax & kSmiTag, which is either zero or one.
__ decq(rcx); // If rax is a smi, all 1s, else all 0s.
__ movq(rbx, rdx);
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---