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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 STORE_AND_GROW_TRANSITION_SMI_TO_DOUBLE, | 168 STORE_AND_GROW_TRANSITION_SMI_TO_DOUBLE, |
169 STORE_AND_GROW_TRANSITION_DOUBLE_TO_OBJECT, | 169 STORE_AND_GROW_TRANSITION_DOUBLE_TO_OBJECT, |
170 STORE_AND_GROW_TRANSITION_HOLEY_SMI_TO_OBJECT, | 170 STORE_AND_GROW_TRANSITION_HOLEY_SMI_TO_OBJECT, |
171 STORE_AND_GROW_TRANSITION_HOLEY_SMI_TO_DOUBLE, | 171 STORE_AND_GROW_TRANSITION_HOLEY_SMI_TO_DOUBLE, |
172 STORE_AND_GROW_TRANSITION_HOLEY_DOUBLE_TO_OBJECT, | 172 STORE_AND_GROW_TRANSITION_HOLEY_DOUBLE_TO_OBJECT, |
173 STORE_NO_TRANSITION_IGNORE_OUT_OF_BOUNDS, | 173 STORE_NO_TRANSITION_IGNORE_OUT_OF_BOUNDS, |
174 STORE_NO_TRANSITION_HANDLE_COW | 174 STORE_NO_TRANSITION_HANDLE_COW |
175 }; | 175 }; |
176 | 176 |
177 | 177 |
178 enum ContextualMode { | 178 enum TypeofMode { INSIDE_TYPEOF, NOT_INSIDE_TYPEOF }; |
179 NOT_CONTEXTUAL, | |
180 CONTEXTUAL | |
181 }; | |
182 | 179 |
183 | 180 |
184 enum MutableMode { | 181 enum MutableMode { |
185 MUTABLE, | 182 MUTABLE, |
186 IMMUTABLE | 183 IMMUTABLE |
187 }; | 184 }; |
188 | 185 |
189 | 186 |
190 enum ExternalArrayType { | 187 enum ExternalArrayType { |
191 kExternalInt8Array = 1, | 188 kExternalInt8Array = 1, |
(...skipping 10639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10831 } else { | 10828 } else { |
10832 value &= ~(1 << bit_position); | 10829 value &= ~(1 << bit_position); |
10833 } | 10830 } |
10834 return value; | 10831 return value; |
10835 } | 10832 } |
10836 }; | 10833 }; |
10837 | 10834 |
10838 } } // namespace v8::internal | 10835 } } // namespace v8::internal |
10839 | 10836 |
10840 #endif // V8_OBJECTS_H_ | 10837 #endif // V8_OBJECTS_H_ |
OLD | NEW |