X64: Ignore extra bits in Smi::value()

Review URL: http://codereview.chromium.org/155046

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2347 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
whesse@chromium.org 2009-07-03 09:22:22 +00:00
parent a0d07c2941
commit 2cba313a49

View File

@ -699,7 +699,7 @@ Object** HeapObject::RawField(HeapObject* obj, int byte_offset) {
int Smi::value() {
return static_cast<int>(reinterpret_cast<intptr_t>(this) >> kSmiTagSize);
return static_cast<int>(reinterpret_cast<intptr_t>(this)) >> kSmiTagSize;
}