[llvm-commits] CVS: llvm/runtime/GC/GCInterface.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Jul 21 22:50:51 PDT 2004
Changes in directory llvm/runtime/GC:
GCInterface.h updated: 1.2 -> 1.3
---
Log message:
Update GC intrinsics to take a pointer to the object as well as a pointer
to the field being updated. Patch contributed by Tobias Nurmiranta
---
Diffs of the changes: (+2 -2)
Index: llvm/runtime/GC/GCInterface.h
diff -u llvm/runtime/GC/GCInterface.h:1.2 llvm/runtime/GC/GCInterface.h:1.3
--- llvm/runtime/GC/GCInterface.h:1.2 Thu May 27 00:51:13 2004
+++ llvm/runtime/GC/GCInterface.h Thu Jul 22 00:50:41 2004
@@ -38,11 +38,11 @@
/* llvm_gc_read - This function should be implemented to include any read
* barrier code that is needed by the garbage collector.
*/
-void *llvm_gc_read(void **P);
+void *llvm_gc_read(void *ObjPtr, void **FieldPtr);
/* llvm_gc_write - This function should be implemented to include any write
* barrier code that is needed by the garbage collector.
*/
-void llvm_gc_write(void *V, void **P);
+void llvm_gc_write(void *V, void *ObjPtr, void **FieldPtr);
#endif
More information about the llvm-commits
mailing list