Chromium Code Reviews| 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 315 // allows). | 315 // allows). |
| 316 enum PretenureFlag { NOT_TENURED, TENURED }; | 316 enum PretenureFlag { NOT_TENURED, TENURED }; |
| 317 | 317 |
| 318 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR }; | 318 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR }; |
| 319 | 319 |
| 320 enum Executability { NOT_EXECUTABLE, EXECUTABLE }; | 320 enum Executability { NOT_EXECUTABLE, EXECUTABLE }; |
| 321 | 321 |
| 322 enum VisitMode { VISIT_ALL, VISIT_ALL_IN_SCAVENGE, VISIT_ONLY_STRONG }; | 322 enum VisitMode { VISIT_ALL, VISIT_ALL_IN_SCAVENGE, VISIT_ONLY_STRONG }; |
| 323 | 323 |
| 324 | 324 |
| 325 // Flag indicating whether code is built in to the VM (one of the natives | |
|
Søren Thygesen Gjesse
2010/03/16 21:58:02
in to -> into?
| |
| 326 // files). | |
| 327 enum NativesFlag { NOT_NATIVES_CODE, NATIVES_CODE }; | |
| 328 | |
| 329 | |
| 325 // A CodeDesc describes a buffer holding instructions and relocation | 330 // A CodeDesc describes a buffer holding instructions and relocation |
| 326 // information. The instructions start at the beginning of the buffer | 331 // information. The instructions start at the beginning of the buffer |
| 327 // and grow forward, the relocation information starts at the end of | 332 // and grow forward, the relocation information starts at the end of |
| 328 // the buffer and grows backward. | 333 // the buffer and grows backward. |
| 329 // | 334 // |
| 330 // |<--------------- buffer_size ---------------->| | 335 // |<--------------- buffer_size ---------------->| |
| 331 // |<-- instr_size -->| |<-- reloc_size -->| | 336 // |<-- instr_size -->| |<-- reloc_size -->| |
| 332 // +==================+========+==================+ | 337 // +==================+========+==================+ |
| 333 // | instructions | free | reloc info | | 338 // | instructions | free | reloc info | |
| 334 // +==================+========+==================+ | 339 // +==================+========+==================+ |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 582 CMOV = 15, // x86 | 587 CMOV = 15, // x86 |
| 583 RDTSC = 4, // x86 | 588 RDTSC = 4, // x86 |
| 584 CPUID = 10, // x86 | 589 CPUID = 10, // x86 |
| 585 VFP3 = 1, // ARM | 590 VFP3 = 1, // ARM |
| 586 ARMv7 = 2, // ARM | 591 ARMv7 = 2, // ARM |
| 587 SAHF = 0}; // x86 | 592 SAHF = 0}; // x86 |
| 588 | 593 |
| 589 } } // namespace v8::internal | 594 } } // namespace v8::internal |
| 590 | 595 |
| 591 #endif // V8_GLOBALS_H_ | 596 #endif // V8_GLOBALS_H_ |
| OLD | NEW |