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 5906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5917 Map* LookupElementsTransitionMap(ElementsKind elements_kind); | 5917 Map* LookupElementsTransitionMap(ElementsKind elements_kind); |
5918 | 5918 |
5919 // Returns the transitioned map for this map with the most generic | 5919 // Returns the transitioned map for this map with the most generic |
5920 // elements_kind that's found in |candidates|, or null handle if no match is | 5920 // elements_kind that's found in |candidates|, or null handle if no match is |
5921 // found at all. | 5921 // found at all. |
5922 static Handle<Map> FindTransitionedMap(Handle<Map> map, | 5922 static Handle<Map> FindTransitionedMap(Handle<Map> map, |
5923 MapHandleList* candidates); | 5923 MapHandleList* candidates); |
5924 | 5924 |
5925 inline bool CanTransition(); | 5925 inline bool CanTransition(); |
5926 | 5926 |
| 5927 inline bool IsBooleanMap(); |
5927 inline bool IsPrimitiveMap(); | 5928 inline bool IsPrimitiveMap(); |
5928 inline bool IsJSObjectMap(); | 5929 inline bool IsJSObjectMap(); |
5929 inline bool IsJSArrayMap(); | 5930 inline bool IsJSArrayMap(); |
5930 inline bool IsJSFunctionMap(); | 5931 inline bool IsJSFunctionMap(); |
5931 inline bool IsStringMap(); | 5932 inline bool IsStringMap(); |
5932 inline bool IsJSProxyMap(); | 5933 inline bool IsJSProxyMap(); |
5933 inline bool IsJSGlobalProxyMap(); | 5934 inline bool IsJSGlobalProxyMap(); |
5934 inline bool IsJSGlobalObjectMap(); | 5935 inline bool IsJSGlobalObjectMap(); |
5935 inline bool IsJSTypedArrayMap(); | 5936 inline bool IsJSTypedArrayMap(); |
5936 | 5937 |
(...skipping 4864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10801 // (elements + properties) in the current level. | 10802 // (elements + properties) in the current level. |
10802 int levelLength_ = 0; | 10803 int levelLength_ = 0; |
10803 | 10804 |
10804 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); | 10805 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); |
10805 }; | 10806 }; |
10806 | 10807 |
10807 } // NOLINT, false-positive due to second-order macros. | 10808 } // NOLINT, false-positive due to second-order macros. |
10808 } // NOLINT, false-positive due to second-order macros. | 10809 } // NOLINT, false-positive due to second-order macros. |
10809 | 10810 |
10810 #endif // V8_OBJECTS_H_ | 10811 #endif // V8_OBJECTS_H_ |
OLD | NEW |