| 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 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1027 INLINE(bool IsStruct() const); | 1027 INLINE(bool IsStruct() const); |
| 1028 #define DECLARE_STRUCT_PREDICATE(NAME, Name, name) \ | 1028 #define DECLARE_STRUCT_PREDICATE(NAME, Name, name) \ |
| 1029 INLINE(bool Is##Name() const); | 1029 INLINE(bool Is##Name() const); |
| 1030 STRUCT_LIST(DECLARE_STRUCT_PREDICATE) | 1030 STRUCT_LIST(DECLARE_STRUCT_PREDICATE) |
| 1031 #undef DECLARE_STRUCT_PREDICATE | 1031 #undef DECLARE_STRUCT_PREDICATE |
| 1032 | 1032 |
| 1033 // ES6, section 7.2.3 IsCallable. | 1033 // ES6, section 7.2.3 IsCallable. |
| 1034 INLINE(bool IsCallable() const); | 1034 INLINE(bool IsCallable() const); |
| 1035 | 1035 |
| 1036 INLINE(bool IsSpecObject()) const; | 1036 INLINE(bool IsSpecObject()) const; |
| 1037 // TODO(rossberg): IsSpecFunction should be removed in favor of IsCallable. | |
| 1038 INLINE(bool IsSpecFunction()) const; | |
| 1039 INLINE(bool IsTemplateInfo()) const; | 1037 INLINE(bool IsTemplateInfo()) const; |
| 1040 INLINE(bool IsNameDictionary() const); | 1038 INLINE(bool IsNameDictionary() const); |
| 1041 INLINE(bool IsGlobalDictionary() const); | 1039 INLINE(bool IsGlobalDictionary() const); |
| 1042 INLINE(bool IsSeededNumberDictionary() const); | 1040 INLINE(bool IsSeededNumberDictionary() const); |
| 1043 INLINE(bool IsUnseededNumberDictionary() const); | 1041 INLINE(bool IsUnseededNumberDictionary() const); |
| 1044 INLINE(bool IsOrderedHashSet() const); | 1042 INLINE(bool IsOrderedHashSet() const); |
| 1045 INLINE(bool IsOrderedHashMap() const); | 1043 INLINE(bool IsOrderedHashMap() const); |
| 1046 static bool IsPromise(Handle<Object> object); | 1044 static bool IsPromise(Handle<Object> object); |
| 1047 | 1045 |
| 1048 // Oddball testing. | 1046 // Oddball testing. |
| (...skipping 9512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10561 | 10559 |
| 10562 Isolate* isolate_; | 10560 Isolate* isolate_; |
| 10563 Handle<FixedArray> keys_; | 10561 Handle<FixedArray> keys_; |
| 10564 Handle<OrderedHashSet> set_; | 10562 Handle<OrderedHashSet> set_; |
| 10565 int length_; | 10563 int length_; |
| 10566 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); | 10564 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); |
| 10567 }; | 10565 }; |
| 10568 } } // namespace v8::internal | 10566 } } // namespace v8::internal |
| 10569 | 10567 |
| 10570 #endif // V8_OBJECTS_H_ | 10568 #endif // V8_OBJECTS_H_ |
| OLD | NEW |