Index: src/types-inl.h |
diff --git a/src/types-inl.h b/src/types-inl.h |
index ca4f120c798d96ec39122f07d0fb8fade3b76bbb..7c2b246397dc0e0d6eda9c8f29c74519f54190c5 100644 |
--- a/src/types-inl.h |
+++ b/src/types-inl.h |
@@ -20,7 +20,7 @@ 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() || |
- t->IsUnion() || t->IsArray() || t->IsFunction()); |
+ t->IsUnion() || t->IsArray() || t->IsFunction() || t->IsContext()); |
return t; |
} |