Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(605)

Unified Diff: src/types-inl.h

Issue 1217803004: Add a type for objects with typed properties. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/types.cc ('k') | test/cctest/test-types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/types-inl.h
diff --git a/src/types-inl.h b/src/types-inl.h
index 762a11df303d85f6c8289d8526564233140def4d..d21c04fe8efeca64782a7a5d52d0a08b5c82e272 100644
--- a/src/types-inl.h
+++ b/src/types-inl.h
@@ -33,7 +33,8 @@ template<class Config>
TypeImpl<Config>* TypeImpl<Config>::cast(typename Config::Base* object) {
TypeImpl* t = static_cast<TypeImpl*>(object);
DCHECK(t->IsBitset() || t->IsClass() || t->IsConstant() || t->IsRange() ||
- t->IsUnion() || t->IsArray() || t->IsFunction() || t->IsContext());
+ t->IsUnion() || t->IsArray() || t->IsFunction() || t->IsObject() ||
+ t->IsContext());
return t;
}
« no previous file with comments | « src/types.cc ('k') | test/cctest/test-types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698