Author: l...@chromium.org Date: Tue May 5 23:53:49 2009 New Revision: 1874
Modified: branches/bleeding_edge/src/code-stubs.h Log: 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 Modified: branches/bleeding_edge/src/code-stubs.h ============================================================================== --- branches/bleeding_edge/src/code-stubs.h (original) +++ branches/bleeding_edge/src/code-stubs.h Tue May 5 23:53:49 2009 @@ -72,7 +72,7 @@ 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. --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---