Reviewers: Lasse Reichstein, Description: X64: Ignore extra bits in Smi::value()
Please review this at http://codereview.chromium.org/155046 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/objects-inl.h Index: src/objects-inl.h =================================================================== --- src/objects-inl.h (revision 2343) +++ src/objects-inl.h (working copy) @@ -699,7 +699,7 @@ int Smi::value() { - return static_cast<int>(reinterpret_cast<intptr_t>(this) >> kSmiTagSize); + return static_cast<int>(reinterpret_cast<intptr_t>(this)) >> kSmiTagSize; } --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
