Displaying 5 results from an estimated 5 matches for "eredit".
Did you mean:
credit
2005 Aug 26
3
[LLVMdev] Mapping of class derivated and interfaces
...tance identity among other things:
public Derived global_var = new ....;
main()
{
myProc(d);
}
void myProc(base2 obj)
{
boolean b = (global_var == obj); // this would be false!
Derived alias = (Derived) obj; // this would break too btw
}
So what am i missing ? maybe to deal with multiple ereditation one
need some more "manadgement" code ? and does the optimizer still "see"
all relations and code features?
Thank you!
2004 Sep 23
1
openldap PDC : can't add machine account ; "too many domain info entries"
I've ereditated this quite messy openldap server from the previous
administrator, samba (3) relies on it for acting as a PDC.
The main problem (while I build a new directory from scratch) is you
can't add a machine account to the domain :
On the client it says the credentials are invalid, anyway the real...
2005 Aug 26
0
[LLVMdev] Mapping of class derivated and interfaces
...ew ....;
> main()
> {
> myProc(d);
> }
>
> void myProc(base2 obj)
> {
> boolean b = (global_var == obj); // this would be false!
>
> Derived alias = (Derived) obj; // this would break too btw
> }
>
> So what am i missing ? maybe to deal with multiple ereditation one
> need some more "manadgement" code ? and does the optimizer still "see"
> all relations and code features?
I don't see why casting to a base class pointer will change the equality
test at all. global_var == obj will evaluate to true and alias will
point to g...
2005 Aug 26
0
[LLVMdev] Mapping of class derivated and interfaces
> Hi! i'm tring to figure out how classes and dependencies
> can be mapped to llvm.
> [snip]
> how do i encode a function that takes "base" type
> so that it also takes "derived" ?
You'll notice that your function doesn't take an object of type base,
but a pointer to it. This is important - in a language such as LLVM
where actual structures can be
2005 Aug 25
5
[LLVMdev] Mapping of class derivated and interfaces
Hi! i'm tring to figure out how classes and dependencies can be mapped to llvm.
I've read on docs that nesting can be used:
class base { int Y; };
class derived : base { short Z; };
becomes:
%base = type { int }
%derived = type { %base, short }
That's ok, but now the question is: how do i encode a function that
takes "base" type so that it also takes "derived"