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 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 } | 570 } |
571 UNREACHABLE(); | 571 UNREACHABLE(); |
572 return os; | 572 return os; |
573 } | 573 } |
574 | 574 |
575 enum MinimumCapacity { | 575 enum MinimumCapacity { |
576 USE_DEFAULT_MINIMUM_CAPACITY, | 576 USE_DEFAULT_MINIMUM_CAPACITY, |
577 USE_CUSTOM_MINIMUM_CAPACITY | 577 USE_CUSTOM_MINIMUM_CAPACITY |
578 }; | 578 }; |
579 | 579 |
580 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR }; | 580 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR, MINOR_MARK_COMPACTOR }; |
581 | 581 |
582 enum Executability { NOT_EXECUTABLE, EXECUTABLE }; | 582 enum Executability { NOT_EXECUTABLE, EXECUTABLE }; |
583 | 583 |
584 enum VisitMode { | 584 enum VisitMode { |
585 VISIT_ALL, | 585 VISIT_ALL, |
586 VISIT_ALL_IN_SCAVENGE, | 586 VISIT_ALL_IN_SCAVENGE, |
587 VISIT_ALL_IN_SWEEP_NEWSPACE, | 587 VISIT_ALL_IN_SWEEP_NEWSPACE, |
588 VISIT_ONLY_STRONG, | 588 VISIT_ONLY_STRONG, |
589 VISIT_ONLY_STRONG_FOR_SERIALIZATION, | 589 VISIT_ONLY_STRONG_FOR_SERIALIZATION, |
590 VISIT_ONLY_STRONG_ROOT_LIST, | 590 VISIT_ONLY_STRONG_ROOT_LIST, |
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1278 UNREACHABLE(); | 1278 UNREACHABLE(); |
1279 return os; | 1279 return os; |
1280 } | 1280 } |
1281 | 1281 |
1282 } // namespace internal | 1282 } // namespace internal |
1283 } // namespace v8 | 1283 } // namespace v8 |
1284 | 1284 |
1285 namespace i = v8::internal; | 1285 namespace i = v8::internal; |
1286 | 1286 |
1287 #endif // V8_GLOBALS_H_ | 1287 #endif // V8_GLOBALS_H_ |
OLD | NEW |