OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 STANDARD_STORE, | 174 STANDARD_STORE, |
175 STORE_TRANSITION_TO_OBJECT, | 175 STORE_TRANSITION_TO_OBJECT, |
176 STORE_TRANSITION_TO_DOUBLE, | 176 STORE_TRANSITION_TO_DOUBLE, |
177 STORE_AND_GROW_NO_TRANSITION, | 177 STORE_AND_GROW_NO_TRANSITION, |
178 STORE_AND_GROW_TRANSITION_TO_OBJECT, | 178 STORE_AND_GROW_TRANSITION_TO_OBJECT, |
179 STORE_AND_GROW_TRANSITION_TO_DOUBLE, | 179 STORE_AND_GROW_TRANSITION_TO_DOUBLE, |
180 STORE_NO_TRANSITION_IGNORE_OUT_OF_BOUNDS, | 180 STORE_NO_TRANSITION_IGNORE_OUT_OF_BOUNDS, |
181 STORE_NO_TRANSITION_HANDLE_COW | 181 STORE_NO_TRANSITION_HANDLE_COW |
182 }; | 182 }; |
183 | 183 |
184 | |
185 enum TypeofMode : int { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF }; | |
186 | |
187 | |
188 enum MutableMode { | 184 enum MutableMode { |
189 MUTABLE, | 185 MUTABLE, |
190 IMMUTABLE | 186 IMMUTABLE |
191 }; | 187 }; |
192 | 188 |
193 | 189 |
194 enum ExternalArrayType { | 190 enum ExternalArrayType { |
195 kExternalInt8Array = 1, | 191 kExternalInt8Array = 1, |
196 kExternalUint8Array, | 192 kExternalUint8Array, |
197 kExternalInt16Array, | 193 kExternalInt16Array, |
(...skipping 11662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11860 } | 11856 } |
11861 return value; | 11857 return value; |
11862 } | 11858 } |
11863 }; | 11859 }; |
11864 | 11860 |
11865 | 11861 |
11866 } // NOLINT, false-positive due to second-order macros. | 11862 } // NOLINT, false-positive due to second-order macros. |
11867 } // NOLINT, false-positive due to second-order macros. | 11863 } // NOLINT, false-positive due to second-order macros. |
11868 | 11864 |
11869 #endif // V8_OBJECTS_H_ | 11865 #endif // V8_OBJECTS_H_ |
OLD | NEW |