From 2cba313a492ca03cac8368f219f81a2a811dfaa5 Mon Sep 17 00:00:00 2001 From: "whesse@chromium.org" Date: Fri, 3 Jul 2009 09:22:22 +0000 Subject: [PATCH] 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 --- src/objects-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objects-inl.h b/src/objects-inl.h index 9d048f6..ff0f2e5 100644 --- a/src/objects-inl.h +++ b/src/objects-inl.h @@ -699,7 +699,7 @@ Object** HeapObject::RawField(HeapObject* obj, int byte_offset) { int Smi::value() { - return static_cast(reinterpret_cast(this) >> kSmiTagSize); + return static_cast(reinterpret_cast(this)) >> kSmiTagSize; } -- 2.7.4