From 525b43d6534181bbc50a1283b36f08efebdaba54 Mon Sep 17 00:00:00 2001 From: "lrn@chromium.org" Date: Wed, 6 May 2009 06:53:49 +0000 Subject: [PATCH] X64 adaption: Changed a constant from kBitsPerPointer to kBitsPerInt. Still stays within the size of Smi and works with a uint32_t bitfield. Bitfield might need to be extended to handle a larger base. Review URL: http://codereview.chromium.org/109020 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1874 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/code-stubs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/code-stubs.h b/src/code-stubs.h index d21b0ee..67634aa 100644 --- a/src/code-stubs.h +++ b/src/code-stubs.h @@ -72,7 +72,7 @@ class CodeStub BASE_EMBEDDED { protected: static const int kMajorBits = 5; - static const int kMinorBits = kBitsPerPointer - kMajorBits - kSmiTagSize; + static const int kMinorBits = kBitsPerInt - kSmiTagSize - kMajorBits; private: // Generates the assembler code for the stub. -- 2.7.4