[LLVMdev] Class or instance?

Chris Lattner sabre at nondot.org
Thu Mar 18 08:58:01 PST 2004


On Thu, 18 Mar 2004, Tobias Nurmiranta wrote:
> In the LLVM Programmers Manual[1] it states:
>
> "One important aspect of LLVM is that there is no distinction between an
> SSA variable and the operation that produces it. Because of this, any
> reference to the value produced by an instruction (or the value available
> as an incoming argument, for example) is represented as a direct pointer
> to the _class_ that represents this value. Although this may take some
> getting used to, it simplifies the representation and makes it easier to
> manipulate."
>
> Shouldn't it be "instance" instead of "class"?

Yup, you're exactly right.  The type of the pointer is a pointer to the
class, but the pointer does go to an instance.  I'll fix it, thanks!

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list