aboutsummaryrefslogtreecommitdiff
path: root/runtime/GC/GCInterface.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-22 05:51:13 +0000
committerChris Lattner <sabre@nondot.org>2004-07-22 05:51:13 +0000
commit93c9587fbbbc0a6b6a64df9ea6184b7fdf8eba35 (patch)
treec3a36786aca89b85bdf981533788105e661d1631 /runtime/GC/GCInterface.h
parent9545a1797b99cad119d2dfaa975f6e95c745b62a (diff)
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/GC/GCInterface.h')
-rw-r--r--runtime/GC/GCInterface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/GC/GCInterface.h b/runtime/GC/GCInterface.h
index e2a9b68fc7..e83abe0d16 100644
--- a/runtime/GC/GCInterface.h
+++ b/runtime/GC/GCInterface.h
@@ -38,11 +38,11 @@ void llvm_gc_collect();
/* 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