OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 // A flag that indicates whether objects should be pretenured when | 287 // A flag that indicates whether objects should be pretenured when |
288 // allocated (allocated directly into the old generation) or not | 288 // allocated (allocated directly into the old generation) or not |
289 // (allocated in the young generation if the object size and type | 289 // (allocated in the young generation if the object size and type |
290 // allows). | 290 // allows). |
291 enum PretenureFlag { NOT_TENURED, TENURED }; | 291 enum PretenureFlag { NOT_TENURED, TENURED }; |
292 | 292 |
293 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR }; | 293 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR }; |
294 | 294 |
295 enum Executability { NOT_EXECUTABLE, EXECUTABLE }; | 295 enum Executability { NOT_EXECUTABLE, EXECUTABLE }; |
296 | 296 |
297 enum VisitMode { VISIT_ALL, VISIT_ONLY_STRONG }; | 297 enum VisitMode { VISIT_ALL, VISIT_ALL_IN_SCAVENGE, VISIT_ONLY_STRONG }; |
298 | 298 |
299 | 299 |
300 // A CodeDesc describes a buffer holding instructions and relocation | 300 // A CodeDesc describes a buffer holding instructions and relocation |
301 // information. The instructions start at the beginning of the buffer | 301 // information. The instructions start at the beginning of the buffer |
302 // and grow forward, the relocation information starts at the end of | 302 // and grow forward, the relocation information starts at the end of |
303 // the buffer and grows backward. | 303 // the buffer and grows backward. |
304 // | 304 // |
305 // |<--------------- buffer_size ---------------->| | 305 // |<--------------- buffer_size ---------------->| |
306 // |<-- instr_size -->| |<-- reloc_size -->| | 306 // |<-- instr_size -->| |<-- reloc_size -->| |
307 // +==================+========+==================+ | 307 // +==================+========+==================+ |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 SSE2 = 26, // x86 | 582 SSE2 = 26, // x86 |
583 CMOV = 15, // x86 | 583 CMOV = 15, // x86 |
584 RDTSC = 4, // x86 | 584 RDTSC = 4, // x86 |
585 CPUID = 10, // x86 | 585 CPUID = 10, // x86 |
586 VFP3 = 1, // ARM | 586 VFP3 = 1, // ARM |
587 SAHF = 0}; // x86 | 587 SAHF = 0}; // x86 |
588 | 588 |
589 } } // namespace v8::internal | 589 } } // namespace v8::internal |
590 | 590 |
591 #endif // V8_GLOBALS_H_ | 591 #endif // V8_GLOBALS_H_ |
OLD | NEW |