Commit 525b43d6 authored by lrn@chromium.org's avatar lrn@chromium.org

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
parent 055367af
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment