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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 enum PrototypeOptimizationMode { REGULAR_PROTOTYPE, FAST_PROTOTYPE }; | 283 enum PrototypeOptimizationMode { REGULAR_PROTOTYPE, FAST_PROTOTYPE }; |
284 | 284 |
285 | 285 |
286 // Indicates whether transitions can be added to a source map or not. | 286 // Indicates whether transitions can be added to a source map or not. |
287 enum TransitionFlag { | 287 enum TransitionFlag { |
288 INSERT_TRANSITION, | 288 INSERT_TRANSITION, |
289 OMIT_TRANSITION | 289 OMIT_TRANSITION |
290 }; | 290 }; |
291 | 291 |
292 | 292 |
293 enum DebugExtraICState { | |
294 DEBUG_BREAK, | |
295 DEBUG_PREPARE_STEP_IN | |
296 }; | |
297 | |
298 | |
299 // Indicates whether the transition is simple: the target map of the transition | 293 // Indicates whether the transition is simple: the target map of the transition |
300 // either extends the current map with a new property, or it modifies the | 294 // either extends the current map with a new property, or it modifies the |
301 // property that was added last to the current map. | 295 // property that was added last to the current map. |
302 enum SimpleTransitionFlag { | 296 enum SimpleTransitionFlag { |
303 SIMPLE_PROPERTY_TRANSITION, | 297 SIMPLE_PROPERTY_TRANSITION, |
304 PROPERTY_TRANSITION, | 298 PROPERTY_TRANSITION, |
305 SPECIAL_TRANSITION | 299 SPECIAL_TRANSITION |
306 }; | 300 }; |
307 | 301 |
308 | 302 |
(...skipping 10522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10831 } else { | 10825 } else { |
10832 value &= ~(1 << bit_position); | 10826 value &= ~(1 << bit_position); |
10833 } | 10827 } |
10834 return value; | 10828 return value; |
10835 } | 10829 } |
10836 }; | 10830 }; |
10837 | 10831 |
10838 } } // namespace v8::internal | 10832 } } // namespace v8::internal |
10839 | 10833 |
10840 #endif // V8_OBJECTS_H_ | 10834 #endif // V8_OBJECTS_H_ |
OLD | NEW |