OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 | 194 |
195 | 195 |
196 // A flag that indicates whether objects should be pretenured when | 196 // A flag that indicates whether objects should be pretenured when |
197 // allocated (allocated directly into the old generation) or not | 197 // allocated (allocated directly into the old generation) or not |
198 // (allocated in the young generation if the object size and type | 198 // (allocated in the young generation if the object size and type |
199 // allows). | 199 // allows). |
200 enum PretenureFlag { NOT_TENURED, TENURED }; | 200 enum PretenureFlag { NOT_TENURED, TENURED }; |
201 | 201 |
202 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR }; | 202 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR }; |
203 | 203 |
204 enum Executability { NOT_EXECUTABLE, EXECUTABLE }; | |
205 | |
206 enum VisitMode { | 204 enum VisitMode { |
207 VISIT_ALL, | 205 VISIT_ALL, |
208 VISIT_ALL_IN_SCAVENGE, | 206 VISIT_ALL_IN_SCAVENGE, |
209 VISIT_ALL_IN_SWEEP_NEWSPACE, | 207 VISIT_ALL_IN_SWEEP_NEWSPACE, |
210 VISIT_ONLY_STRONG | 208 VISIT_ONLY_STRONG |
211 }; | 209 }; |
212 | 210 |
213 // Flag indicating whether code is built into the VM (one of the natives files). | 211 // Flag indicating whether code is built into the VM (one of the natives files). |
214 enum NativesFlag { NOT_NATIVES_CODE, NATIVES_CODE }; | 212 enum NativesFlag { NOT_NATIVES_CODE, NATIVES_CODE }; |
215 | 213 |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 | 564 |
567 | 565 |
568 enum MinusZeroMode { | 566 enum MinusZeroMode { |
569 TREAT_MINUS_ZERO_AS_ZERO, | 567 TREAT_MINUS_ZERO_AS_ZERO, |
570 FAIL_ON_MINUS_ZERO | 568 FAIL_ON_MINUS_ZERO |
571 }; | 569 }; |
572 | 570 |
573 } } // namespace v8::internal | 571 } } // namespace v8::internal |
574 | 572 |
575 #endif // V8_V8GLOBALS_H_ | 573 #endif // V8_V8GLOBALS_H_ |
OLD | NEW |