Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 54375305bced4c8846dd5816ba333df065d9821b..3d5d2a200b7bf5f3d317c1d4cb0633e817ccb3e4 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -1056,6 +1056,7 @@ class Object { |
| INLINE(bool IsOrderedHashSet() const); |
| INLINE(bool IsOrderedHashMap() const); |
| bool IsCallable() const; |
| + static bool IsPromise(Handle<Object> object); |
| // Oddball testing. |
| INLINE(bool IsUndefined() const); |