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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 216 |
| 217 static const int kPrologueOffsetNotSet = -1; |
| 218 |
217 // A CodeDesc describes a buffer holding instructions and relocation | 219 // A CodeDesc describes a buffer holding instructions and relocation |
218 // information. The instructions start at the beginning of the buffer | 220 // information. The instructions start at the beginning of the buffer |
219 // and grow forward, the relocation information starts at the end of | 221 // and grow forward, the relocation information starts at the end of |
220 // the buffer and grows backward. | 222 // the buffer and grows backward. |
221 // | 223 // |
222 // |<--------------- buffer_size ---------------->| | 224 // |<--------------- buffer_size ---------------->| |
223 // |<-- instr_size -->| |<-- reloc_size -->| | 225 // |<-- instr_size -->| |<-- reloc_size -->| |
224 // +==================+========+==================+ | 226 // +==================+========+==================+ |
225 // | instructions | free | reloc info | | 227 // | instructions | free | reloc info | |
226 // +==================+========+==================+ | 228 // +==================+========+==================+ |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 | 568 |
567 | 569 |
568 enum MinusZeroMode { | 570 enum MinusZeroMode { |
569 TREAT_MINUS_ZERO_AS_ZERO, | 571 TREAT_MINUS_ZERO_AS_ZERO, |
570 FAIL_ON_MINUS_ZERO | 572 FAIL_ON_MINUS_ZERO |
571 }; | 573 }; |
572 | 574 |
573 } } // namespace v8::internal | 575 } } // namespace v8::internal |
574 | 576 |
575 #endif // V8_V8GLOBALS_H_ | 577 #endif // V8_V8GLOBALS_H_ |
OLD | NEW |