| 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); | 
| 1059 | 1060 | 
| 1060   // Oddball testing. | 1061   // Oddball testing. | 
| 1061   INLINE(bool IsUndefined() const); | 1062   INLINE(bool IsUndefined() const); | 
| 1062   INLINE(bool IsNull() const); | 1063   INLINE(bool IsNull() const); | 
| 1063   INLINE(bool IsTheHole() const); | 1064   INLINE(bool IsTheHole() const); | 
| 1064   INLINE(bool IsException() const); | 1065   INLINE(bool IsException() const); | 
| 1065   INLINE(bool IsUninitialized() const); | 1066   INLINE(bool IsUninitialized() const); | 
| 1066   INLINE(bool IsTrue() const); | 1067   INLINE(bool IsTrue() const); | 
| 1067   INLINE(bool IsFalse() const); | 1068   INLINE(bool IsFalse() const); | 
| 1068   INLINE(bool IsArgumentsMarker() const); | 1069   INLINE(bool IsArgumentsMarker() const); | 
| (...skipping 10038 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 11107     } else { | 11108     } else { | 
| 11108       value &= ~(1 << bit_position); | 11109       value &= ~(1 << bit_position); | 
| 11109     } | 11110     } | 
| 11110     return value; | 11111     return value; | 
| 11111   } | 11112   } | 
| 11112 }; | 11113 }; | 
| 11113 | 11114 | 
| 11114 } }  // namespace v8::internal | 11115 } }  // namespace v8::internal | 
| 11115 | 11116 | 
| 11116 #endif  // V8_OBJECTS_H_ | 11117 #endif  // V8_OBJECTS_H_ | 
| OLD | NEW | 
|---|