| 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 5860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5871 inline bool CanTransition(); | 5871 inline bool CanTransition(); |
| 5872 | 5872 |
| 5873 inline bool IsPrimitiveMap(); | 5873 inline bool IsPrimitiveMap(); |
| 5874 inline bool IsJSObjectMap(); | 5874 inline bool IsJSObjectMap(); |
| 5875 inline bool IsJSArrayMap(); | 5875 inline bool IsJSArrayMap(); |
| 5876 inline bool IsJSFunctionMap(); | 5876 inline bool IsJSFunctionMap(); |
| 5877 inline bool IsStringMap(); | 5877 inline bool IsStringMap(); |
| 5878 inline bool IsJSProxyMap(); | 5878 inline bool IsJSProxyMap(); |
| 5879 inline bool IsJSGlobalProxyMap(); | 5879 inline bool IsJSGlobalProxyMap(); |
| 5880 inline bool IsJSGlobalObjectMap(); | 5880 inline bool IsJSGlobalObjectMap(); |
| 5881 inline bool IsJSTypedArrayMap(); |
| 5881 inline bool IsGlobalObjectMap(); | 5882 inline bool IsGlobalObjectMap(); |
| 5882 | 5883 |
| 5883 inline bool CanOmitMapChecks(); | 5884 inline bool CanOmitMapChecks(); |
| 5884 | 5885 |
| 5885 static void AddDependentCode(Handle<Map> map, | 5886 static void AddDependentCode(Handle<Map> map, |
| 5886 DependentCode::DependencyGroup group, | 5887 DependentCode::DependencyGroup group, |
| 5887 Handle<Code> code); | 5888 Handle<Code> code); |
| 5888 | 5889 |
| 5889 bool IsMapInArrayPrototypeChain(); | 5890 bool IsMapInArrayPrototypeChain(); |
| 5890 | 5891 |
| (...skipping 4842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10733 Handle<FixedArray> keys_; | 10734 Handle<FixedArray> keys_; |
| 10734 Handle<OrderedHashSet> set_; | 10735 Handle<OrderedHashSet> set_; |
| 10735 int length_; | 10736 int length_; |
| 10736 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); | 10737 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); |
| 10737 }; | 10738 }; |
| 10738 | 10739 |
| 10739 } // NOLINT, false-positive due to second-order macros. | 10740 } // NOLINT, false-positive due to second-order macros. |
| 10740 } // NOLINT, false-positive due to second-order macros. | 10741 } // NOLINT, false-positive due to second-order macros. |
| 10741 | 10742 |
| 10742 #endif // V8_OBJECTS_H_ | 10743 #endif // V8_OBJECTS_H_ |
| OLD | NEW |