| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 int buffer_size; | 242 int buffer_size; |
| 243 int instr_size; | 243 int instr_size; |
| 244 int reloc_size; | 244 int reloc_size; |
| 245 Assembler* origin; | 245 Assembler* origin; |
| 246 }; | 246 }; |
| 247 | 247 |
| 248 | 248 |
| 249 // Callback function on object slots, used for iterating heap object slots in | 249 // Callback function on object slots, used for iterating heap object slots in |
| 250 // HeapObjects, global pointers to heap objects, etc. The callback allows the | 250 // HeapObjects, global pointers to heap objects, etc. The callback allows the |
| 251 // callback function to change the value of the slot. | 251 // callback function to change the value of the slot. |
| 252 typedef void (*ObjectSlotCallback)(HeapObject** pointer); | 252 typedef void (*ObjectSlotCallback)(HeapObject** pointer, HeapObject* object); |
| 253 | 253 |
| 254 | 254 |
| 255 // Callback function used for iterating objects in heap spaces, | 255 // Callback function used for iterating objects in heap spaces, |
| 256 // for example, scanning heap objects. | 256 // for example, scanning heap objects. |
| 257 typedef int (*HeapObjectCallback)(HeapObject* obj); | 257 typedef int (*HeapObjectCallback)(HeapObject* obj); |
| 258 | 258 |
| 259 | 259 |
| 260 // Callback function used for checking constraints when copying/relocating | 260 // Callback function used for checking constraints when copying/relocating |
| 261 // objects. Returns true if an object can be copied/relocated from its | 261 // objects. Returns true if an object can be copied/relocated from its |
| 262 // old_addr to a new_addr. | 262 // old_addr to a new_addr. |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 CMOV = 15, // x86 | 464 CMOV = 15, // x86 |
| 465 RDTSC = 4, // x86 | 465 RDTSC = 4, // x86 |
| 466 CPUID = 10, // x86 | 466 CPUID = 10, // x86 |
| 467 VFP3 = 1, // ARM | 467 VFP3 = 1, // ARM |
| 468 ARMv7 = 2, // ARM | 468 ARMv7 = 2, // ARM |
| 469 SAHF = 0}; // x86 | 469 SAHF = 0}; // x86 |
| 470 | 470 |
| 471 } } // namespace v8::internal | 471 } } // namespace v8::internal |
| 472 | 472 |
| 473 #endif // V8_V8GLOBALS_H_ | 473 #endif // V8_V8GLOBALS_H_ |
| OLD | NEW |