Displaying 1 result from an estimated 1 matches for "contactexpr".
Did you mean:
constantexpr
2010 Sep 18
2
[LLVMdev] Converting a Constant GEP to a POD integer?
Working on my garbage collector...I need to be able to convert a
ConstantExpr to a plain int at link time.
At compile time, I use ContactExpr::getOffsetOf() to calculate the offsets
for pointer fields to be traced by the collector. Since the target machine
has not yet been selected at this point, we don't yet know what the exact
offset will be, so the expression cannot be flattened into a simple integer.
That's OK, however, becau...