Displaying 3 results from an estimated 3 matches for "165d165".
Did you mean:
165,165
2004 Jul 21
0
[LLVMdev] GC questions.
Ok, that makes sense :).
, Tobias
On Wed, 21 Jul 2004, Chris Lattner wrote:
> On Wed, 21 Jul 2004, Tobias Nurmiranta wrote:
> > > void *llvm_gc_read(void *ObjPtr, void **FieldPtr) {
> > > return *FieldPtr;
> > > }
> >
> > Hm, but doesn't FieldPtr need to be calculated target-specific in those
> > cases?
>
> For the field pointer, one
2004 Jul 21
2
[LLVMdev] GC questions.
On Wed, 21 Jul 2004, Tobias Nurmiranta wrote:
> > void *llvm_gc_read(void *ObjPtr, void **FieldPtr) {
> > return *FieldPtr;
> > }
>
> Hm, but doesn't FieldPtr need to be calculated target-specific in those
> cases?
For the field pointer, one could use the getelementptr instruction:
%pairty = { sbyte, sbyte, int* }
%pairPtr = ...
%fieldptr = getelementptr
2004 Jul 22
2
[LLVMdev] GC questions.
...0);
118c118
< if (GCRootInt || GCRootValueInt) {
---
> if (GCRootInt) {
121a122
>
156c157
< if (!GCRootInt && !GCRootValueInt && !GCReadInt && !GCWriteInt) return false;
---
> if (!GCRootInt && !GCReadInt && !GCWriteInt) return false;
165d165
< std::vector<CallInst*> GCRootValues;
177c177
< if (F == GCRootInt) {
---
> if (F == GCRootInt)
179,182c179
< } else if (F == GCRootValueInt) {
< GCRoots.push_back(CI);
< GCRootValues.push_back(CI);
< } else if (...