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_GLOBALS_H_ | 5 #ifndef V8_GLOBALS_H_ |
6 #define V8_GLOBALS_H_ | 6 #define V8_GLOBALS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 USE_DEFAULT_MINIMUM_CAPACITY, | 583 USE_DEFAULT_MINIMUM_CAPACITY, |
584 USE_CUSTOM_MINIMUM_CAPACITY | 584 USE_CUSTOM_MINIMUM_CAPACITY |
585 }; | 585 }; |
586 | 586 |
587 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR, MINOR_MARK_COMPACTOR }; | 587 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR, MINOR_MARK_COMPACTOR }; |
588 | 588 |
589 enum Executability { NOT_EXECUTABLE, EXECUTABLE }; | 589 enum Executability { NOT_EXECUTABLE, EXECUTABLE }; |
590 | 590 |
591 enum VisitMode { | 591 enum VisitMode { |
592 VISIT_ALL, | 592 VISIT_ALL, |
| 593 VISIT_ALL_IN_MINOR_MC_UPDATE, |
593 VISIT_ALL_IN_SCAVENGE, | 594 VISIT_ALL_IN_SCAVENGE, |
594 VISIT_ALL_IN_SWEEP_NEWSPACE, | 595 VISIT_ALL_IN_SWEEP_NEWSPACE, |
595 VISIT_ONLY_STRONG, | 596 VISIT_ONLY_STRONG, |
596 VISIT_ONLY_STRONG_FOR_SERIALIZATION, | 597 VISIT_ONLY_STRONG_FOR_SERIALIZATION, |
597 VISIT_ONLY_STRONG_ROOT_LIST, | 598 VISIT_ONLY_STRONG_ROOT_LIST, |
598 }; | 599 }; |
599 | 600 |
600 // Flag indicating whether code is built into the VM (one of the natives files). | 601 // Flag indicating whether code is built into the VM (one of the natives files). |
601 enum NativesFlag { | 602 enum NativesFlag { |
602 NOT_NATIVES_CODE, | 603 NOT_NATIVES_CODE, |
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1414 } // namespace internal | 1415 } // namespace internal |
1415 } // namespace v8 | 1416 } // namespace v8 |
1416 | 1417 |
1417 // Used by js-builtin-reducer to identify whether ReduceArrayIterator() is | 1418 // Used by js-builtin-reducer to identify whether ReduceArrayIterator() is |
1418 // reducing a JSArray method, or a JSTypedArray method. | 1419 // reducing a JSArray method, or a JSTypedArray method. |
1419 enum class ArrayIteratorKind { kArray, kTypedArray }; | 1420 enum class ArrayIteratorKind { kArray, kTypedArray }; |
1420 | 1421 |
1421 namespace i = v8::internal; | 1422 namespace i = v8::internal; |
1422 | 1423 |
1423 #endif // V8_GLOBALS_H_ | 1424 #endif // V8_GLOBALS_H_ |
OLD | NEW |