OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1051 INLINE(bool Is##Name() const); | 1051 INLINE(bool Is##Name() const); |
1052 STRUCT_LIST(DECLARE_STRUCT_PREDICATE) | 1052 STRUCT_LIST(DECLARE_STRUCT_PREDICATE) |
1053 #undef DECLARE_STRUCT_PREDICATE | 1053 #undef DECLARE_STRUCT_PREDICATE |
1054 | 1054 |
1055 // ES6, section 7.2.3 IsCallable. | 1055 // ES6, section 7.2.3 IsCallable. |
1056 INLINE(bool IsCallable() const); | 1056 INLINE(bool IsCallable() const); |
1057 | 1057 |
1058 // ES6, section 7.2.4 IsConstructor. | 1058 // ES6, section 7.2.4 IsConstructor. |
1059 INLINE(bool IsConstructor() const); | 1059 INLINE(bool IsConstructor() const); |
1060 | 1060 |
1061 INLINE(bool IsSpecObject()) const; | |
1062 INLINE(bool IsTemplateInfo()) const; | 1061 INLINE(bool IsTemplateInfo()) const; |
1063 INLINE(bool IsNameDictionary() const); | 1062 INLINE(bool IsNameDictionary() const); |
1064 INLINE(bool IsGlobalDictionary() const); | 1063 INLINE(bool IsGlobalDictionary() const); |
1065 INLINE(bool IsSeededNumberDictionary() const); | 1064 INLINE(bool IsSeededNumberDictionary() const); |
1066 INLINE(bool IsUnseededNumberDictionary() const); | 1065 INLINE(bool IsUnseededNumberDictionary() const); |
1067 INLINE(bool IsOrderedHashSet() const); | 1066 INLINE(bool IsOrderedHashSet() const); |
1068 INLINE(bool IsOrderedHashMap() const); | 1067 INLINE(bool IsOrderedHashMap() const); |
1069 static bool IsPromise(Handle<Object> object); | 1068 static bool IsPromise(Handle<Object> object); |
1070 | 1069 |
1071 // Oddball testing. | 1070 // Oddball testing. |
(...skipping 9640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10712 } | 10711 } |
10713 return value; | 10712 return value; |
10714 } | 10713 } |
10715 }; | 10714 }; |
10716 | 10715 |
10717 | 10716 |
10718 } // NOLINT, false-positive due to second-order macros. | 10717 } // NOLINT, false-positive due to second-order macros. |
10719 } // NOLINT, false-positive due to second-order macros. | 10718 } // NOLINT, false-positive due to second-order macros. |
10720 | 10719 |
10721 #endif // V8_OBJECTS_H_ | 10720 #endif // V8_OBJECTS_H_ |
OLD | NEW |