| 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  288 // A flag that indicates whether objects should be pretenured when |  288 // A flag that indicates whether objects should be pretenured when | 
|  289 // allocated (allocated directly into the old generation) or not |  289 // allocated (allocated directly into the old generation) or not | 
|  290 // (allocated in the young generation if the object size and type |  290 // (allocated in the young generation if the object size and type | 
|  291 // allows). |  291 // allows). | 
|  292 enum PretenureFlag { NOT_TENURED, TENURED }; |  292 enum PretenureFlag { NOT_TENURED, TENURED }; | 
|  293  |  293  | 
|  294 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR }; |  294 enum GarbageCollector { SCAVENGER, MARK_COMPACTOR }; | 
|  295  |  295  | 
|  296 enum Executability { NOT_EXECUTABLE, EXECUTABLE }; |  296 enum Executability { NOT_EXECUTABLE, EXECUTABLE }; | 
|  297  |  297  | 
 |  298 enum VisitMode { VISIT_ALL, VISIT_ONLY_STRONG }; | 
 |  299  | 
|  298  |  300  | 
|  299 // A CodeDesc describes a buffer holding instructions and relocation |  301 // A CodeDesc describes a buffer holding instructions and relocation | 
|  300 // information. The instructions start at the beginning of the buffer |  302 // information. The instructions start at the beginning of the buffer | 
|  301 // and grow forward, the relocation information starts at the end of |  303 // and grow forward, the relocation information starts at the end of | 
|  302 // the buffer and grows backward. |  304 // the buffer and grows backward. | 
|  303 // |  305 // | 
|  304 //  |<--------------- buffer_size ---------------->| |  306 //  |<--------------- buffer_size ---------------->| | 
|  305 //  |<-- instr_size -->|        |<-- reloc_size -->| |  307 //  |<-- instr_size -->|        |<-- reloc_size -->| | 
|  306 //  +==================+========+==================+ |  308 //  +==================+========+==================+ | 
|  307 //  |   instructions   |  free  |    reloc info    | |  309 //  |   instructions   |  free  |    reloc info    | | 
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  570  |  572  | 
|  571   Dest dest; |  573   Dest dest; | 
|  572   memcpy(&dest, &source, sizeof(dest)); |  574   memcpy(&dest, &source, sizeof(dest)); | 
|  573   return dest; |  575   return dest; | 
|  574 } |  576 } | 
|  575  |  577  | 
|  576  |  578  | 
|  577 } }  // namespace v8::internal |  579 } }  // namespace v8::internal | 
|  578  |  580  | 
|  579 #endif  // V8_GLOBALS_H_ |  581 #endif  // V8_GLOBALS_H_ | 
| OLD | NEW |