| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 // +==================+========+==================+ | 253 // +==================+========+==================+ |
| 253 // ^ | 254 // ^ |
| 254 // | | 255 // | |
| 255 // buffer | 256 // buffer |
| 256 | 257 |
| 257 struct CodeDesc { | 258 struct CodeDesc { |
| 258 byte* buffer; | 259 byte* buffer; |
| 259 int buffer_size; | 260 int buffer_size; |
| 260 int instr_size; | 261 int instr_size; |
| 261 int reloc_size; | 262 int reloc_size; |
| 263 Assembler* origin; |
| 262 }; | 264 }; |
| 263 | 265 |
| 264 | 266 |
| 265 // Callback function on object slots, used for iterating heap object slots in | 267 // Callback function on object slots, used for iterating heap object slots in |
| 266 // HeapObjects, global pointers to heap objects, etc. The callback allows the | 268 // HeapObjects, global pointers to heap objects, etc. The callback allows the |
| 267 // callback function to change the value of the slot. | 269 // callback function to change the value of the slot. |
| 268 typedef void (*ObjectSlotCallback)(HeapObject** pointer); | 270 typedef void (*ObjectSlotCallback)(HeapObject** pointer); |
| 269 | 271 |
| 270 | 272 |
| 271 // Callback function used for iterating objects in heap spaces, | 273 // Callback function used for iterating objects in heap spaces, |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 | 507 |
| 506 Dest dest; | 508 Dest dest; |
| 507 memcpy(&dest, &source, sizeof(dest)); | 509 memcpy(&dest, &source, sizeof(dest)); |
| 508 return dest; | 510 return dest; |
| 509 } | 511 } |
| 510 | 512 |
| 511 | 513 |
| 512 } } // namespace v8::internal | 514 } } // namespace v8::internal |
| 513 | 515 |
| 514 #endif // V8_GLOBALS_H_ | 516 #endif // V8_GLOBALS_H_ |
| OLD | NEW |