Chromium Code Reviews| 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 206 enum VisitMode { | 206 enum VisitMode { |
| 207 VISIT_ALL, | 207 VISIT_ALL, |
| 208 VISIT_ALL_IN_SCAVENGE, | 208 VISIT_ALL_IN_SCAVENGE, |
| 209 VISIT_ALL_IN_SWEEP_NEWSPACE, | 209 VISIT_ALL_IN_SWEEP_NEWSPACE, |
| 210 VISIT_ONLY_STRONG | 210 VISIT_ONLY_STRONG |
| 211 }; | 211 }; |
| 212 | 212 |
| 213 // Flag indicating whether code is built into the VM (one of the natives files). | 213 // Flag indicating whether code is built into the VM (one of the natives files). |
| 214 enum NativesFlag { NOT_NATIVES_CODE, NATIVES_CODE }; | 214 enum NativesFlag { NOT_NATIVES_CODE, NATIVES_CODE }; |
| 215 | 215 |
| 216 static const int kPrologueOffsetNotSet = -1; | |
|
danno
2013/10/04 16:30:09
This is probably better suited to be in codegen.h
rmcilroy
2013/10/07 10:56:13
It is needed in a number of .h files (heap.h, fact
| |
| 216 | 217 |
| 217 // A CodeDesc describes a buffer holding instructions and relocation | 218 // A CodeDesc describes a buffer holding instructions and relocation |
| 218 // information. The instructions start at the beginning of the buffer | 219 // information. The instructions start at the beginning of the buffer |
| 219 // and grow forward, the relocation information starts at the end of | 220 // and grow forward, the relocation information starts at the end of |
| 220 // the buffer and grows backward. | 221 // the buffer and grows backward. |
| 221 // | 222 // |
| 222 // |<--------------- buffer_size ---------------->| | 223 // |<--------------- buffer_size ---------------->| |
| 223 // |<-- instr_size -->| |<-- reloc_size -->| | 224 // |<-- instr_size -->| |<-- reloc_size -->| |
| 224 // +==================+========+==================+ | 225 // +==================+========+==================+ |
| 225 // | instructions | free | reloc info | | 226 // | instructions | free | reloc info | |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 566 | 567 |
| 567 | 568 |
| 568 enum MinusZeroMode { | 569 enum MinusZeroMode { |
| 569 TREAT_MINUS_ZERO_AS_ZERO, | 570 TREAT_MINUS_ZERO_AS_ZERO, |
| 570 FAIL_ON_MINUS_ZERO | 571 FAIL_ON_MINUS_ZERO |
| 571 }; | 572 }; |
| 572 | 573 |
| 573 } } // namespace v8::internal | 574 } } // namespace v8::internal |
| 574 | 575 |
| 575 #endif // V8_V8GLOBALS_H_ | 576 #endif // V8_V8GLOBALS_H_ |
| OLD | NEW |