| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index 5c8717838f8da0ac6b919e70bbb300d3966612dc..fac583e0f379e4ae6c7bc4ab816af48af748b4c5 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -161,10 +161,6 @@ class CodeStub BASE_EMBEDDED {
|
| // Lookup the code in the (possibly custom) cache.
|
| bool FindCodeInCache(Code** code_out);
|
|
|
| - protected:
|
| - static const int kMajorBits = 6;
|
| - static const int kMinorBits = kBitsPerInt - kSmiTagSize - kMajorBits;
|
| -
|
| private:
|
| // Nonvirtual wrapper around the stub-specific Generate function. Call
|
| // this function to set up the macro assembler and generate the code.
|
| @@ -222,8 +218,9 @@ class CodeStub BASE_EMBEDDED {
|
| MajorKeyBits::encode(MajorKey());
|
| }
|
|
|
| - class MajorKeyBits: public BitField<uint32_t, 0, kMajorBits> {};
|
| - class MinorKeyBits: public BitField<uint32_t, kMajorBits, kMinorBits> {};
|
| + class MajorKeyBits: public BitField<uint32_t, 0, kStubMajorKeyBits> {};
|
| + class MinorKeyBits: public BitField<uint32_t,
|
| + kStubMajorKeyBits, kStubMinorKeyBits> {}; // NOLINT
|
|
|
| friend class BreakPointIterator;
|
| };
|
|
|