pointer-sized integer type

Benjamin,

It seems that LLVM bytecode doesn't have a builtin type for "pointer-sized
integer".

You should use TargetData to provide a size of pointer.

Anton Korobeynikov wrote:

Benjamin,

It seems that LLVM bytecode doesn't have a builtin type for "pointer-sized
integer".

You should use TargetData to provide a size of pointer.

Sorry, perhaps I was not clear. When JITting code it's not hard to figure
out the size of a pointer and use the equivalent integer type. I mean, is it
possible to create architecture-independent LLVM assembly/bytecode that has
an "integer that's the same size as a pointer"?

- --BDS

- --

Benjamin Smedberg
Platform Guru
Mozilla Corporation
benjamin@smedbergs.us
http://benjamin.smedbergs.us/

No, not currently.

-Chris