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

Unified Diff: src/objects.h

Issue 2622503002: include fixing: api.h shouldn't include objects-inl.h (Closed)
Patch Set: more arm Created 3 years, 11 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 3eda230a939a1b5163516c1bdec461972e117a34..6a9d6b9b2c00fd613269077dab943458fe23190f 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -1157,6 +1157,7 @@ class Object {
public:
// Type testing.
bool IsObject() const { return true; }
+ static bool IsObjectSubclass() { return true; }
#define IS_TYPE_FUNCTION_DECL(Type) INLINE(bool Is##Type() const);
OBJECT_TYPE_LIST(IS_TYPE_FUNCTION_DECL)
« src/handles.h ('K') | « src/layout-descriptor.cc ('k') | src/parsing/func-name-inferrer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698