Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 1a09c602baa574c64cab8cc9e556d8f7ed7bcfbd..eb464399b8e78ac21d11eaa7cee6146da5942dd9 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -971,6 +971,7 @@ template <class C> inline bool Is(Object* obj); |
V(JSDataView) \ |
V(JSProxy) \ |
V(JSError) \ |
+ V(JSPromise) \ |
V(JSSet) \ |
V(JSMap) \ |
V(JSSetIterator) \ |
@@ -1081,7 +1082,6 @@ class Object { |
INLINE(bool IsUnseededNumberDictionary() const); |
INLINE(bool IsOrderedHashSet() const); |
INLINE(bool IsOrderedHashMap() const); |
- static bool IsPromise(Handle<Object> object); |
// Extract the number. |
inline double Number() const; |