Index: src/types-inl.h |
diff --git a/src/types-inl.h b/src/types-inl.h |
index 0bdd4638f889cfda5e09fc00247b39cc2c1bf69e..f086e8b8403455b7a4449cc8e2450baf5bb565c2 100644 |
--- a/src/types-inl.h |
+++ b/src/types-inl.h |
@@ -19,7 +19,7 @@ namespace internal { |
template<class Config> |
TypeImpl<Config>* TypeImpl<Config>::cast(typename Config::Base* object) { |
TypeImpl* t = static_cast<TypeImpl*>(object); |
- ASSERT(t->IsBitset() || t->IsClass() || t->IsConstant() || |
+ ASSERT(t->IsBitset() || t->IsClass() || t->IsConstant() || t->IsRange() || |
t->IsUnion() || t->IsArray() || t->IsFunction() || t->IsContext()); |
return t; |
} |