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 10632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10824 } else { | 10821 } else { |
10825 value &= ~(1 << bit_position); | 10822 value &= ~(1 << bit_position); |
10826 } | 10823 } |
10827 return value; | 10824 return value; |
10828 } | 10825 } |
10829 }; | 10826 }; |
10830 | 10827 |
10831 } } // namespace v8::internal | 10828 } } // namespace v8::internal |
10832 | 10829 |
10833 #endif // V8_OBJECTS_H_ | 10830 #endif // V8_OBJECTS_H_ |
OLD | NEW |