Displaying 2 results from an estimated 2 matches for "msilobjectmodel1".
Did you mean:
msilobjectmodel2
2005 Aug 27
0
[LLVMdev] Mapping of class derivated and interfaces
...2005, Nicola Lugato wrote:
> Another question:
> What's the best way in general to implement interfaces (like java ones
> for example)? Any hint ? I'm just in the dark with this.
Along with what the others said, you might find these notes useful:
http://nondot.org/sabre/LLVMNotes/MSILObjectModel1.txt
http://nondot.org/sabre/LLVMNotes/MSILObjectModel2.txt
Which includes interfaces. Alkis may have notes for llvm-java as well.
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
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"