Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index b4c6a3a03e1efb81ccd3d0bfd5a95d6ba97715e5..3b0e96f1ef93793398b98eb7a5daa50ca1c156a6 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -171,7 +171,7 @@ bool Object::IsSymbol() { |
// Because the symbol tag is non-zero and no non-string types have the |
// symbol bit set we can test for symbols with a very simple test |
// operation. |
- ASSERT(kSymbolTag != 0); |
+ STATIC_ASSERT(kSymbolTag != 0); |
ASSERT(kNotStringTag + kIsSymbolMask > LAST_TYPE); |
return (type & kIsSymbolMask) != 0; |
} |
@@ -256,7 +256,7 @@ StringShape::StringShape(InstanceType t) |
bool StringShape::IsSymbol() { |
ASSERT(valid()); |
- ASSERT(kSymbolTag != 0); |
+ STATIC_ASSERT(kSymbolTag != 0); |
return (type_ & kIsSymbolMask) != 0; |
} |