Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index 13b0b633b16ed1d9c98a600c6ebc3638d9be8dce..404da44e2b7f6cf18fb7b4bb289081321d9ddc04 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -74,7 +74,7 @@ Code* StubCache::Set(String* name, Map* map, Code* code) { |
// the bits are the least significant so they will be the ones |
// masked out. |
ASSERT(Code::ExtractICStateFromFlags(flags) == MONOMORPHIC); |
- ASSERT(Code::kFlagsICStateShift == 0); |
+ STATIC_ASSERT((Code::ICStateField::kMask & 1) == 1); |
// Make sure that the code type is not included in the hash. |
ASSERT(Code::ExtractTypeFromFlags(flags) == 0); |