Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index f2de6166d3aefb8aa47b768dde69e0df08442560..55ebe219fdf8c80ba91c52cced2e0aab4a1b09b4 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -245,6 +245,7 @@ class CodeStub BASE_EMBEDDED { |
MajorKeyBits::encode(MajorKey()); |
} |
+ STATIC_ASSERT(NUMBER_OF_IDS < (1 << kStubMajorKeyBits)); |
class MajorKeyBits: public BitField<uint32_t, 0, kStubMajorKeyBits> {}; |
class MinorKeyBits: public BitField<uint32_t, |
kStubMajorKeyBits, kStubMinorKeyBits> {}; // NOLINT |