Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 76958c199b6c20947bc07a0dbb861b737c804386..65cd6fb3fc6b5586a6efad4ade5a10bafb98b509 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -854,6 +854,8 @@ class JSReceiver; |
class Object : public MaybeObject { |
public: |
// Type testing. |
+ bool IsObject() { return true; } |
+ |
#define IS_TYPE_FUNCTION_DECL(type_) inline bool Is##type_(); |
OBJECT_TYPE_LIST(IS_TYPE_FUNCTION_DECL) |
HEAP_OBJECT_TYPE_LIST(IS_TYPE_FUNCTION_DECL) |