Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: src/v8globals.h

Issue 6250076: Start using store buffers. Handle store buffer overflow situation.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« src/store-buffer.h ('K') | « src/store-buffer-inl.h ('k') | test/cctest/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698