| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 // ----------------------------------------------------------------------------- | 138 // ----------------------------------------------------------------------------- |
| 139 // Forward declarations for frequently used classes | 139 // Forward declarations for frequently used classes |
| 140 // (sorted alphabetically) | 140 // (sorted alphabetically) |
| 141 | 141 |
| 142 class AccessorInfo; | 142 class AccessorInfo; |
| 143 class Allocation; | 143 class Allocation; |
| 144 class Assembler; | 144 class Assembler; |
| 145 class BreakableStatement; | 145 class BreakableStatement; |
| 146 class Code; | 146 class Code; |
| 147 class CodeGenerator; | 147 class CodeGenerator; |
| 148 class CodeRegion; |
| 148 class CodeStub; | 149 class CodeStub; |
| 149 class Context; | 150 class Context; |
| 150 class Debug; | 151 class Debug; |
| 151 class Debugger; | 152 class Debugger; |
| 152 class DebugInfo; | 153 class DebugInfo; |
| 153 class Descriptor; | 154 class Descriptor; |
| 154 class DescriptorArray; | 155 class DescriptorArray; |
| 155 class Expression; | 156 class Expression; |
| 156 class ExternalReference; | 157 class ExternalReference; |
| 157 class FixedArray; | 158 class FixedArray; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 // +==================+========+==================+ | 252 // +==================+========+==================+ |
| 252 // ^ | 253 // ^ |
| 253 // | | 254 // | |
| 254 // buffer | 255 // buffer |
| 255 | 256 |
| 256 struct CodeDesc { | 257 struct CodeDesc { |
| 257 byte* buffer; | 258 byte* buffer; |
| 258 int buffer_size; | 259 int buffer_size; |
| 259 int instr_size; | 260 int instr_size; |
| 260 int reloc_size; | 261 int reloc_size; |
| 262 Assembler* origin; |
| 261 }; | 263 }; |
| 262 | 264 |
| 263 | 265 |
| 264 // Callback function on object slots, used for iterating heap object slots in | 266 // Callback function on object slots, used for iterating heap object slots in |
| 265 // HeapObjects, global pointers to heap objects, etc. The callback allows the | 267 // HeapObjects, global pointers to heap objects, etc. The callback allows the |
| 266 // callback function to change the value of the slot. | 268 // callback function to change the value of the slot. |
| 267 typedef void (*ObjectSlotCallback)(HeapObject** pointer); | 269 typedef void (*ObjectSlotCallback)(HeapObject** pointer); |
| 268 | 270 |
| 269 | 271 |
| 270 // Callback function used for iterating objects in heap spaces, | 272 // Callback function used for iterating objects in heap spaces, |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 | 506 |
| 505 Dest dest; | 507 Dest dest; |
| 506 memcpy(&dest, &source, sizeof(dest)); | 508 memcpy(&dest, &source, sizeof(dest)); |
| 507 return dest; | 509 return dest; |
| 508 } | 510 } |
| 509 | 511 |
| 510 | 512 |
| 511 } } // namespace v8::internal | 513 } } // namespace v8::internal |
| 512 | 514 |
| 513 #endif // V8_GLOBALS_H_ | 515 #endif // V8_GLOBALS_H_ |
| OLD | NEW |