| 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 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1049 | 1049 |
| 1050 INLINE(bool IsSpecObject()) const; | 1050 INLINE(bool IsSpecObject()) const; |
| 1051 INLINE(bool IsSpecFunction()) const; | 1051 INLINE(bool IsSpecFunction()) const; |
| 1052 INLINE(bool IsTemplateInfo()) const; | 1052 INLINE(bool IsTemplateInfo()) const; |
| 1053 INLINE(bool IsNameDictionary() const); | 1053 INLINE(bool IsNameDictionary() const); |
| 1054 INLINE(bool IsSeededNumberDictionary() const); | 1054 INLINE(bool IsSeededNumberDictionary() const); |
| 1055 INLINE(bool IsUnseededNumberDictionary() const); | 1055 INLINE(bool IsUnseededNumberDictionary() const); |
| 1056 INLINE(bool IsOrderedHashSet() const); | 1056 INLINE(bool IsOrderedHashSet() const); |
| 1057 INLINE(bool IsOrderedHashMap() const); | 1057 INLINE(bool IsOrderedHashMap() const); |
| 1058 bool IsCallable() const; | 1058 bool IsCallable() const; |
| 1059 static bool IsPromise(Handle<Object> object); | |
| 1060 | 1059 |
| 1061 // Oddball testing. | 1060 // Oddball testing. |
| 1062 INLINE(bool IsUndefined() const); | 1061 INLINE(bool IsUndefined() const); |
| 1063 INLINE(bool IsNull() const); | 1062 INLINE(bool IsNull() const); |
| 1064 INLINE(bool IsTheHole() const); | 1063 INLINE(bool IsTheHole() const); |
| 1065 INLINE(bool IsException() const); | 1064 INLINE(bool IsException() const); |
| 1066 INLINE(bool IsUninitialized() const); | 1065 INLINE(bool IsUninitialized() const); |
| 1067 INLINE(bool IsTrue() const); | 1066 INLINE(bool IsTrue() const); |
| 1068 INLINE(bool IsFalse() const); | 1067 INLINE(bool IsFalse() const); |
| 1069 INLINE(bool IsArgumentsMarker() const); | 1068 INLINE(bool IsArgumentsMarker() const); |
| (...skipping 10032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11102 } else { | 11101 } else { |
| 11103 value &= ~(1 << bit_position); | 11102 value &= ~(1 << bit_position); |
| 11104 } | 11103 } |
| 11105 return value; | 11104 return value; |
| 11106 } | 11105 } |
| 11107 }; | 11106 }; |
| 11108 | 11107 |
| 11109 } } // namespace v8::internal | 11108 } } // namespace v8::internal |
| 11110 | 11109 |
| 11111 #endif // V8_OBJECTS_H_ | 11110 #endif // V8_OBJECTS_H_ |
| OLD | NEW |